クラス rcsc::PlayerMoveCommand

player's move command [詳細]

#include <player_command.h>

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

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

Public メソッド

 PlayerMoveCommand (const double &x, const double &y)
 construct with move target point
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
Vector2D movePos () const
 get move command parameter

説明

player's move command

  Format:
  <- (move <x> <y>)
  <- (move (<x> <y>))
  


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

rcsc::PlayerMoveCommand::PlayerMoveCommand ( const double &  x,
const double &  y 
) [inline]

construct with move target point

引数:
x move target x
y move target y


関数

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

get command type

戻り値:
command type Id

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

std::ostream & rcsc::PlayerMoveCommand::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::PlayerMoveCommand::name (  )  const [inline, virtual]

get command name

戻り値:
command name string

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

Vector2D rcsc::PlayerMoveCommand::movePos (  )  const [inline, virtual]

get move command parameter

戻り値:
move position

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


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