クラス rcsc::PlayerKickCommand

kick command [詳細]

#include <player_command.h>

rcsc::PlayerKickCommandに対する継承グラフ

rcsc::PlayerBodyCommand rcsc::PlayerCommand すべてのメンバ一覧

Public メソッド

 PlayerKickCommand (const double &power, const double &dir)
 construct with kick parameters
Type type () const
 get command type
std::ostream & toStr (std::ostream &to) const
 put command string to ostream
std::string name () const
 get command name
double kickPower () const
 get kick command parameter
double kickDir () const
 get kick command parameter

説明

kick command

  Format:
  <- (kick <power> <dir>)
  


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

rcsc::PlayerKickCommand::PlayerKickCommand ( const double &  power,
const double &  dir 
) [inline]

construct with kick parameters

引数:
power kick power
dir kick accel dir relative to body


関数

Type rcsc::PlayerKickCommand::type (  )  const [inline, virtual]

get command type

戻り値:
command type Id

rcsc::PlayerBodyCommandを実装しています。

std::ostream & rcsc::PlayerKickCommand::toStr ( std::ostream &  to  )  const [virtual]

put command string to ostream

引数:
to reference to the output stream
戻り値:
reference to the output stream

rcsc::PlayerBodyCommandを実装しています。

std::string rcsc::PlayerKickCommand::name (  )  const [inline, virtual]

get command name

戻り値:
command name string

rcsc::PlayerBodyCommandを実装しています。

double rcsc::PlayerKickCommand::kickPower (  )  const [inline, virtual]

get kick command parameter

戻り値:
kick power

rcsc::PlayerBodyCommandを再定義しています。

double rcsc::PlayerKickCommand::kickDir (  )  const [inline, virtual]

get kick command parameter

戻り値:
kick direction

rcsc::PlayerBodyCommandを再定義しています。


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