evolve4src/src/evolve_simulator/player.cpp
void Player_SetNextCommand(UNIVERSE *u, PLAYER_COMMAND *cmd)
{
	ASSERT( u != NULL );
	ASSERT( cmd != NULL );
	ASSERT( u->player != NULL );

	u->player->cmd = *cmd;
}
/*
 * Set the next command to be executed by the player object.
 *
 * When Universe_Simulate(u) is called the player will execute this
 * command first, before any other organisms.
 *
 */
Set the next command to be executed by the player object.
When Universe_Simulate(u) is called the player will execute this
command first, before any other organisms.
Set the next command to be executed by the player object . When Universe_Simulate ( u ) is called the player will execute this command first before any other organisms .
void Player_SetNextCommand(UNIVERSE *u, PLAYER_COMMAND *cmd)
{
	ASSERT( u != NULL );
	ASSERT( cmd != NULL );
	ASSERT( u->player != NULL );
	u->player->cmd = *cmd;
}
void Player_SetNextCommand ( UNIVERSE * u , PLAYER_COMMAND * cmd ) { ASSERT ( u != NULL ) ; ASSERT ( cmd != NULL ) ; ASSERT ( u -> player != NULL ) ; u -> player -> cmd = * cmd ; }
Set the next command to be executed by the player object.
Set the next command to be executed by the player object .