Created
November 8, 2012 20:30
-
-
Save maraoz/4041383 to your computer and use it in GitHub Desktop.
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
public class Fireball extends GameObject implements Updatable { | |
private static final int VELOCITY = 5; | |
@NetworkData | |
private Vector2D pos; | |
@NetworkData | |
private final Vector2D speed; | |
@NetworkData | |
private List<SomeObject> list; | |
... | |
} | |
public class Vector2D { | |
public float x,y; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment