Main Page | Namespace List | Alphabetical List | Class List | File List | Class Members | Related Pages

DART_Events::StateVariableAction Class Reference

This action modifies the value of the named variable. More...

List of all members.

Public Member Functions

 new (me)
 getPropertyDescriptionList (aScript)
 beginSprite (me)
 endSprite (me)
 SetCueInfo (me)

Private Attributes

 pStateVar
 Name of global state variable.

 pValue
 Value of state variable (30, +30, "hello").


Detailed Description

This action modifies the value of the named variable.

This action can be used in conjunction with the ConditionalCue to do simple state programming. To use this action, name a variable. If the variable doesn't exist it will be added to a global list. Then specify a value or a simple operation.

Place this behavior onto any sprite

Example: pStateVar = myState (this value changes over 4 different StateVariableActions) pValue = "hello", then myState = "hello" pValue = 30, myState = 30 pValue = +20, myState = 50 pValue = 10, myState = 10

Copyright 2004, Georgia Tech Research Corporation, Atlanta, Georgia 30332-0415 --All Rights Reserved-- (See LICENSE cast member for full license information)


Member Function Documentation

DART_Events::StateVariableAction::beginSprite me   ) 
 

DART_Events::StateVariableAction::endSprite me   ) 
 

DART_Events::StateVariableAction::getPropertyDescriptionList aScript   ) 
 

DART_Events::StateVariableAction::new me   ) 
 

DART_Events::StateVariableAction::SetCueInfo me   ) 
 


Member Data Documentation

DART_Events::StateVariableAction::pStateVar [private]
 

Name of global state variable.

DART_Events::StateVariableAction::pValue [private]
 

Value of state variable (30, +30, "hello").


Generated on Fri Oct 8 16:38:01 2004 for DART-Lingo by doxygen 1.3.7