Dry
Classes | Enumerations | Functions
LogicComponent.h File Reference
#include "../Container/FlagSet.h"
#include "../Scene/Component.h"

Classes

class  Dry::LogicComponent
 Helper base class for user-defined game logic components that hooks up to update events and forwards them to virtual functions similar to ScriptInstance class. More...
 

Enumerations

enum  Dry::UpdateEvent : unsigned {
  Dry::USE_NO_EVENT = 0x0, Dry::USE_UPDATE = 0x1, Dry::USE_POSTUPDATE = 0x2, Dry::USE_FIXEDUPDATE = 0x4,
  Dry::USE_FIXEDPOSTUPDATE = 0x8
}
 

Functions

 Dry::DRY_FLAGSET (UpdateEvent, UpdateEventFlags)
 

Enumeration Type Documentation

◆ UpdateEvent

enum Dry::UpdateEvent : unsigned
Enumerator
USE_NO_EVENT 

Bitmask for not using any events.

USE_UPDATE 

Bitmask for using the scene update event.

USE_POSTUPDATE 

Bitmask for using the scene post-update event.

USE_FIXEDUPDATE 

Bitmask for using the physics update event.

USE_FIXEDPOSTUPDATE 

Bitmask for using the physics post-update event.