SQC-15_online #1
| @@ -35,6 +35,16 @@ void RemotePlayer::Feed(const netprot::Output out) { | ||||
|  | ||||
| 	m_position = Vector3f(out.position); | ||||
| 	m_direction = Vector3f(out.direction); | ||||
|  | ||||
| 	std::cout << "dead " << out.states.dead << std::endl; | ||||
| 	std::cout << "hit " << out.states.hit << std::endl; | ||||
| 	std::cout << "Jump " << out.states.jumping << std::endl; | ||||
| 	std::cout << "JumpShot " << out.states.jumpshot << std::endl; | ||||
| 	std::cout << "powerUp " << out.states.powerup << std::endl; | ||||
| 	std::cout << "Running " << out.states.running << std::endl; | ||||
| 	std::cout << "Shooting " << out.states.shooting << std::endl; | ||||
| 	std::cout << "Still " << out.states.still << std::endl; | ||||
|  | ||||
| 	//current.position = out.position; | ||||
| 	//current.direction = out.direction; | ||||
| 	//current.states = out.states; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user