gameobject

package
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 15, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GameObject

type GameObject interface {
	IsUpdateable() bool
	Update(context *context.GameplayContext)
	IsRenderable() bool
	Render(renderer *sdl.Renderer)
	IsCollidable() bool
	HandleCollision(object *GameObject)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL