Skip to content

Instantly share code, notes, and snippets.

@SET001
Created November 26, 2016 16:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SET001/e1a41f50cadfacd052ff9b6f6db35a5f to your computer and use it in GitHub Desktop.
Save SET001/e1a41f50cadfacd052ff9b6f6db35a5f to your computer and use it in GitHub Desktop.
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