Versions in this module Expand all Collapse all v0 v0.1.1 Oct 25, 2023 Changes in this version + type Camera struct + Height float64 + Position Vec2 + Rotation int + Viewport Vec2 + Width float64 + ZoomFactor int + func CreateCamera(width, height float64) *Camera + func (c *Camera) Render(world, screen *ebiten.Image) + func (c *Camera) Reset() + func (c *Camera) ScreenToWorld(pos Vec2) Vec2 + func (c *Camera) String() string + type GameState struct + SceneManager *SceneManager + type Scene interface + Draw func(screen *ebiten.Image) + Update func(state *GameState) error + type SceneManager struct + func (s *SceneManager) Draw(r *ebiten.Image) + func (s *SceneManager) LoadScene(scene Scene) + func (s *SceneManager) Update() error + type Transform struct + Position Vec2 + Rotation int + Scale Vec2 + type Vec2 struct + X float64 + Y float64 + func NewVec2(x, y int) Vec2 v0.1.0 Oct 25, 2023