Action Struct Reference
[Standard Library of Useful Things]

Inherits Event.

Inherited by ActionImpl.

List of all members.

Public Methods

virtual bool initialize (const Char *actionName, Float value)=0
virtual const ChargetName () const=0
virtual Float getValue () const=0


Detailed Description

The "action" event is sent whenever a mapped input event occurs (see ActionMapper).


Member Function Documentation

virtual const Char* Action::getName   const [pure virtual]
 

Get the name of the action.

Scripted as:
[r/o string] name

virtual Float Action::getValue   const [pure virtual]
 

Get the value of the action inputs.

Scripted as:
[r/o float] value

virtual bool Action::initialize const Char   actionName,
Float    value
[pure virtual]
 

Prepare a new action.

Scripted as:
bool initialize(string, float)


The documentation for this struct was generated from the following file:


Flat Four Engine
Copyright (C) 2001 by 379, Inc.
This page generated by Doxygen