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

simulation
Class CProductionItem

IJSObject
   |
   +--CJSObject
         |
         +--CProductionItem

   in ProductionQueue.h
   in ProductionQueue.cpp

class CProductionItem
extends CJSObject


Field Summary
 float m_elapsedTime
          
 CStrW m_name
          
 float m_totalTime
          
 int m_type
          
   
Fields inherited from class CJSObject
m_NativeProperties, m_NonsharedProperties, m_ScriptProperties, m_EngineOwned, JSI_class
 
Constructor Summary
CProductionItem( int type, const CStrW& name, float totalTime )
          
~CProductionItem()
          
 
Method Summary
 float GetProgress()
          
 bool IsComplete()
          
 jsval JSI_GetProgress( 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_elapsedTime

public float m_elapsedTime;

m_name

public CStrW m_name;

m_totalTime

public float m_totalTime;

m_type

public int m_type;


Constructor Detail

CProductionItem

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

~CProductionItem

public ~CProductionItem();


Method Detail

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 );

 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