Skip to content

Commit

Permalink
Some tips for the GameObject
Browse files Browse the repository at this point in the history
  • Loading branch information
hunttis committed Apr 12, 2016
1 parent 4dc56eb commit 7af2663
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/objects/GameObject.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@

// You should create all game object specific behavior in this file and then extend it with new classes.
// For Example: EnemySoldier, PlayerShip or something to that effect.
class GameObject extends Phaser.Sprite {

constructor(game, x, y, key, frame){
Expand Down

0 comments on commit 7af2663

Please sign in to comment.