GameClient sending rotation to server

This commit is contained in:
lindaandersson 2014-02-20 11:12:08 +01:00
parent e6cd1f1e5f
commit a2bba95003
1 changed files with 2 additions and 0 deletions

View File

@ -97,6 +97,8 @@ namespace GameLogic
{ {
this->protocol[0].value = protocol_Gameplay_PlayerLeftTurn; this->protocol[0].value = protocol_Gameplay_PlayerLeftTurn;
this->protocol[0].type = ::Oyster::Network::NetAttributeType_Short; this->protocol[0].type = ::Oyster::Network::NetAttributeType_Short;
// deltaRadian
this->protocol[1].type = ::Oyster::Network::NetAttributeType_Float;
this->deltaRadian = deltaRadian; this->deltaRadian = deltaRadian;
} }