GameComponent

The GameComponent class allows for the creation of a Component

Properties

Name Description Get/Set
Enabled Determine if the component will be updated when Game.Update is called Y/Y
Game Returns the Game associated with this component Y/N
UpdateOrder Indicates the order in which the GameComponent should be updated relative to other GameComponent instances. Lower values are updated first. Y/Y

Methods

Name Description
Initialize Called when component initializes
Update Called when component updates durring the Game.Update procedure

Examples

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License