2023-10-23 15:45:18 +03:00
|
|
|
package gg
|
2023-02-17 12:47:17 +03:00
|
|
|
|
2024-05-28 11:24:12 +03:00
|
|
|
// The interface must
|
|
|
|
// me implemented for all the
|
|
|
|
// in-game logic objects.
|
|
|
|
type Object interface {
|
2024-01-08 06:09:36 +03:00
|
|
|
Drawer
|
2024-05-28 11:24:12 +03:00
|
|
|
OnStart(Context)
|
|
|
|
OnUpdate(Context)
|
|
|
|
OnDelete(Context)
|
|
|
|
GetTags() map[string]struct{}
|
2024-01-08 06:09:36 +03:00
|
|
|
}
|
|
|
|
|
2023-08-31 11:29:37 +03:00
|
|
|
|