Private
Readonly
_imageReadonly
idThe unique id of this game object.
Defines is this game object ignoring mouse events.
The name of this game object.
Sprite rotation style
Defines is this game object has hitbox visible in game.
The order in game objects hierarchy.
The tag of this game object.
Sprite texture
The Transform - position, width, height and rotation of this game object.
Defines is this game object visible in game.
Invoked at last update in every frame.
Update(event){
this.transform.translate(new JSGL.Vector2(1, 0).multiply(event.deltaTime));
}
Invoked at click on drawed game object
Invoked at hover end on drawed game object
is handled?
Invoked at hover start on drawed game object
is handled?
Calls event.game.Update()
at spawn
Invoked at every frame.
Update(event){
this.transform.translate(new JSGL.Vector2(1, 0).multiply(event.deltaTime));
}
Static
Is
Defines is this game object enabled in game.
Property