Big push to implement 10mp fluid simulations.
This commit is contained in:
18
elements/mappedentity.go
Normal file
18
elements/mappedentity.go
Normal file
@@ -0,0 +1,18 @@
|
||||
package elements
|
||||
|
||||
import (
|
||||
"fluids/gamedata"
|
||||
|
||||
"github.com/hajimehoshi/ebiten/v2"
|
||||
)
|
||||
|
||||
type MappedEntity interface {
|
||||
Draw()
|
||||
Update()
|
||||
GetSprite() *ebiten.Image
|
||||
GetDimensions() gamedata.Vector
|
||||
GetPosition() gamedata.Vector
|
||||
SetPosition(gamedata.Vector)
|
||||
SetPaused(bool)
|
||||
Paused() bool
|
||||
}
|
||||
Reference in New Issue
Block a user