System Class - NocturnalWisp/Tynted-Engine GitHub Wiki
#Usage Used to create systems which control the behavior of the game in different ways.
Summary Creates an instance of the System class.
Implementation
System()Summary This is called when the game initializes the system.
Implementation
override Initialize()Summary This is called each loop the game updates on this system.
Implementation
override Update(GameTime gameTime)Vars
- gameTime - The time represented struct.
Summary This is called each time the game begins drawing this system.
Implementation
override Draw(RenderWindow renderWindow)Vars
- renderWindow - The SFML associated window to run draw calls upon.
Summary Called after initialize, but before SubscribeEvents is called.
Implementation
override CreateEvents()Summary Called after CreateEvents, but before the main loop starts.
Implementation
override SubscribeEvents()Summary Returns a list of all entities the system has access to based off of the attributes the system has and the active entities in active scenes.
Implementation
GetEntities()Returns List - All the entities the system can grab.