Created
November 9, 2013 21:42
-
-
Save ibilon/7390397 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
class Entity extends com.haxepunk.Entity | |
{ | |
public var worldCollider : IEntityBehavior; | |
public var moveHandler : IEntityBehavior; | |
override public function update () | |
{ | |
worldCollider.update(); | |
moveHandler.update(); | |
super.update(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment