gg/ox/object.go
2024-05-28 13:24:12 +05:00

12 lines
441 B
Go

package ox
// The standard empty implementation
// of the Object interface to embed.
type ObjectImpl struct {}
func (o ObjectImpl) OnStart(c Context) {}
func (o ObjectImpl) OnUpdate(c Context) {}
func (o ObjectImpl) OnDelete(c Context) {}
func (o ObjectImpl) GetTags() map[string]struct{}{return nil}
func (o ObjectImpl) Draw(c Context) {}
func (o ObjectImpl) GetLayer() Layer {return 0}
func (o ObjectImpl) IsVisible() bool {return false}