Created
November 26, 2016 16:15
-
-
Save SET001/e1a41f50cadfacd052ff9b6f6db35a5f to your computer and use it in GitHub Desktop.
This file contains hidden or 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 Cursor{ | |
position: Core.Point = new Core.Point() | |
onChangePosition = new Phaser.Signal() | |
place(position: Core.Point){ | |
this.position = position | |
this.onChangePosition.dispatch(this.position) | |
} | |
create(){ | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment