sgdk
Object_ Struct Reference

Base object structure. More...

#include <object.h>

List of all members.

Public Attributes

u16 internalState
u16 type
ObjectCallbackinit
ObjectCallbackupdate
ObjectCallbackend

Detailed Description

Base object structure.

Parameters:
internalStateObject internal state, you can use it but you should save bit 15 as it's used internally to detect invalid object
typeObject type, can be used to recognize the underlying object / structure type.
initInitialisation function callback, should be only called once after object creation
updateUpdate function callback, usually called once per frame
endEnding function callback, should be only called once before object release

The documentation for this struct was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines