Created
August 8, 2016 00:32
-
-
Save nickrobson/7a8bb12fdfc6476bd80cf70212d25335 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
package ass1; | |
public class MyCoolGameObject extends GameObject { | |
public MyCoolGameObject() { | |
super(GameObject.ROOT); | |
new PolygonalGameObject(this, new double[] {0, 0, 0, .5, .5, .5, .5, 0}, new double[] {1, 0, 0, .5}, null); | |
new LineGameObject(this, 0, 0, 1, 0, new double[] {0, 1, 0, .5}); | |
new LineGameObject(this, 0, 0, 0, 1, new double[] {0, 1, 0, .5}); | |
new CircularGameObject(this, .05, new double[] {0, 0, 1, .5}, null); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment