Behaviours
BxSTA Class Reference

Inherits BxBehaviour.

Public Member Functions

void Frame (int start, int end=-1, int repeatFrame=-1)
 
void StepForward ()
 
void StepBackward ()
 
void MotorRotateTo (float angle, int timeTotake=0, bool antiClockwise=false, bool force=false)
 

Static Public Member Functions

static BxSTA Find (string name, bool create=false)
 Find a timer with an optional creation flag.
 

Protected Attributes

int update_interval =250
 Animation step time ms.
 
int m_currentFrame = 0
 current frame
 
float m_currentAngle = 0
 current angle (in degrees, betwwen 0f and 360f)
 
ImageList m_imageList =null
 image list
 
int m_nextFrame
 
bool m_animating = false
 
float m_travelAngle =0f
 
float m_travel =0f
 
float m_targetAngle =0f
 
float m_startingAngle =0f
 
int m_timeToTake =100
 
bool m_ac =false
 
- Protected Attributes inherited from BxBehaviour
ImporterParams m_ip = null
 

Properties

int UpdateInterval [get, set]
 
int CurrentFrame [get, protected set]
 
float CurrentAngle [get, protected set]
 
- Properties inherited from BxBehaviour
ImporterParams Params [get]
 

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