simulation
Class CProductionItem
IJSObject
|
+--CJSObject
|
+--CProductionItem
in ProductionQueue.h
in ProductionQueue.cpp
- class CProductionItem
- extends CJSObject
Methods inherited from class CJSObject |
ScriptingInit, ScriptingShutdown, GetProperty, SetProperty, HasProperty, AddProperty, AddProperty, AddProperty, AddMethod, AddProperty, AddLocalProperty, GetScript, CreateScriptObject, ReleaseScriptObject, Shutdown |
m_elapsedTime
public float m_elapsedTime;
m_name
public CStrW m_name;
m_totalTime
public float m_totalTime;
m_type
public int m_type;
CProductionItem
public CProductionItem( int type, const CStrW& name, float totalTime );
~CProductionItem
public ~CProductionItem();
GetProgress
public float GetProgress();
IsComplete
public bool IsComplete();
JSI_GetProgress
public jsval JSI_GetProgress( JSContext* UNUSED( cx ) );
ScriptingInit
public static void ScriptingInit();
Update
public void Update( size_t timestep );