Skip to content

Instantly share code, notes, and snippets.

@ChristianHohlfeld
Created October 4, 2018 20:36
Show Gist options
  • Save ChristianHohlfeld/968e221cee874242bc0c2e6636693d26 to your computer and use it in GitHub Desktop.
Save ChristianHohlfeld/968e221cee874242bc0c2e6636693d26 to your computer and use it in GitHub Desktop.
ClientSendMessage
void HelloWorld::ClientSendMessage() {
if (client != nullptr && clientGameObject != nullptr) {
client->SendTestMessage(clientGameObject->getSprite()->getPositionX(), clientGameObject->getSprite()->getPositionY(), clientGameObject->getSprite()->getRotation());
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment