Overview   Project   Class   Tree   Deprecated   Index 
0 A.D.
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

simulation
Class CProductionQueue

IJSObject
   |
   +--CJSObject
         |
         +--CProductionQueue

   in ProductionQueue.h
   in ProductionQueue.cpp

class CProductionQueue
extends CJSObject


Field Summary
private std::vector< CProductionItem* > m_items
          
private CEntity* m_owner
          
   
Fields inherited from class CJSObject
m_NativeProperties, m_NonsharedProperties, m_ScriptProperties, m_EngineOwned, JSI_class
 
Constructor Summary
CProductionQueue( CEntity* owner )
          
~CProductionQueue()
          
 
Method Summary
 void AddItem( int type, const CStrW& name, float totalTime )
          
 void CancelAll()
          
 bool JSI_Cancel( JSContext* cx, uintN argc, jsval* argv )
          
 jsval_t JSI_Get( JSContext* cx, uintN argc, jsval* argv )
          
 jsval JSI_GetLength( JSContext* UNUSED( cx ) )
          
 static void ScriptingInit()
          
 void Update( size_t timestep )
          
   
Methods inherited from class CJSObject
ScriptingInit, ScriptingShutdown, GetProperty, SetProperty, HasProperty, AddProperty, AddProperty, AddProperty, AddMethod, AddProperty, AddLocalProperty, GetScript, CreateScriptObject, ReleaseScriptObject, Shutdown
   
Methods inherited from class IJSObject
HasProperty, GetProperty, AddProperty, AddProperty
 

Field Detail

m_items

private std::vector< CProductionItem* > m_items;

m_owner

private CEntity* m_owner;


Constructor Detail

CProductionQueue

public CProductionQueue( CEntity* owner );

~CProductionQueue

public ~CProductionQueue();


Method Detail

AddItem

public void AddItem( int type, const CStrW& name, float totalTime );

CancelAll

public void CancelAll();

JSI_Cancel

public bool JSI_Cancel( JSContext* cx, uintN argc, jsval* argv );

JSI_Get

public jsval_t JSI_Get( JSContext* cx, uintN argc, jsval* argv );

JSI_GetLength

public jsval JSI_GetLength( JSContext* UNUSED( cx ) );

ScriptingInit

public static void ScriptingInit();

Update

public void Update( size_t timestep );

 Overview   Project   Class   Tree   Deprecated   Index 
0 A.D.
Generated on September 04, 2007 at 18:13
CppDoc v2.4.0
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD