object.go 207 B

1234567891011121314
  1. package gg
  2. // The interface must
  3. // me implemented for all the
  4. // in-game logic objects.
  5. type Object interface {
  6. Drawer
  7. OnStart(Context)
  8. OnUpdate(Context)
  9. OnDelete(Context)
  10. GetTags(Context) TagMap
  11. }