Created
November 6, 2014 04:52
-
-
Save Kolesias123/bb0cefe62cb3ee49383a to your computer and use it in GitHub Desktop.
Entidad con físicas en Cliente
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MyEntity extends PhysicsEntity | |
{ | |
int m_iPings = 0; | |
// Esta función es llamada cuando se recibe información del servidor | |
void receiveDatatable( data ) | |
{ | |
m_iPings = data["Pings"]; | |
Msg("[Cliente] ¡Llevo $m_iPings pings!"); | |
super.receiveDatatable( data ); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment