Initial commit.

This commit is contained in:
2025-11-27 22:50:36 -05:00
commit 70cee9e3f0
11 changed files with 710 additions and 0 deletions

15
colliders/collider.go Normal file
View File

@@ -0,0 +1,15 @@
package colliders
import (
"fluids/gamedata"
)
type Collider interface {
GetPosition() gamedata.Vector
GetDimensions() gamedata.Vector
SetPosition(gamedata.Vector)
//GetBounds() image.Rectangle
//indicates whether this collider is inverted, i.e. 'contains' elements
//IsContainer() bool
}