virtual void execute(GameActor& gameActor)
	{
		gameActor.placeTile(x_, y_);
	}
Exemplo n.º 2
0
void JumpCommand::excute(GameActor& actor) {
	actor.jump();
}
Exemplo n.º 3
0
void Sun::handleCollision(GameActor &other)
{
    other.dealDamage(ActConf::SUN_DAMAGE);
}
Exemplo n.º 4
0
	virtual void execute(GameActor& gameActor)
	{
		gameActor.jump();
	}