クラス rcsc::GameTime

game time object [詳細]

#include <game_time.h>

すべてのメンバ一覧

Public メソッド

 GameTime ()
 default constructor
 GameTime (const long &c, const long &s)
 constroctor
const long & cycle () const
 get normal cycle value
const long & stopped () const
 get stopped cycle value
const GameTimeassign (const long &c, const long &s)
 assign new value
const GameTimesetCycle (const long &c)
 assign new normal cycle
const GameTimesetStopped (const long &s)
 assign new stopped cycle
const GameTimeaddCycle (const long &t)
 add to normal cycle
const GameTimeaddStopped (const long &t)
 add to stopped cycle


説明

game time object


コンストラクタとデストラクタ

rcsc::GameTime::GameTime ( const long &  c,
const long &  s 
) [inline]

constroctor

引数:
c normal cycle count
s stopped cycle count


関数

const long& rcsc::GameTime::cycle (  )  const [inline]

get normal cycle value

戻り値:
const reference to the normal cycle value

const long& rcsc::GameTime::stopped (  )  const [inline]

get stopped cycle value

戻り値:
const reference to the stopped cycle value

const GameTime& rcsc::GameTime::assign ( const long &  c,
const long &  s 
) [inline]

assign new value

引数:
c new normal cycle value
s new stopped cycle value
戻り値:
const reference to itself

const GameTime& rcsc::GameTime::setCycle ( const long &  c  )  [inline]

assign new normal cycle

引数:
c new normal cycle value
戻り値:
const reference to itself

const GameTime& rcsc::GameTime::setStopped ( const long &  s  )  [inline]

assign new stopped cycle

引数:
s new stopped cycle value
戻り値:
const reference to itself

const GameTime& rcsc::GameTime::addCycle ( const long &  t  )  [inline]

add to normal cycle

引数:
t added value
戻り値:
const reference to itself

const GameTime& rcsc::GameTime::addStopped ( const long &  t  )  [inline]

add to stopped cycle

引数:
t added value
戻り値:
const reference to itself


このクラスの説明は次のファイルから生成されました:
librcscに対してThu May 1 15:41:26 2008に生成されました。  doxygen 1.5.0