Created
November 26, 2016 16:13
-
-
Save SET001/87cead3eb2fc39bb7352106787df8499 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 Cursor{ | |
// @include components/d2.ts | |
create(){ | |
} | |
} |
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
// @exclude | |
import * as Core from '../core' | |
export class D2{ | |
// @endexclude | |
position: Core.Point = new Core.Point() | |
onChangePosition = new Phaser.Signal() | |
place(position: Core.Point){ | |
this.position = position | |
this.onChangePosition.dispatch(this.position) | |
} | |
// @exclude | |
} | |
// @endexclude |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment