Better commenting throughout

This commit is contained in:
2025-11-24 12:29:19 -07:00
parent 175479da69
commit 5e0413a259
14 changed files with 107 additions and 195 deletions

View File

@@ -7,6 +7,8 @@ import (
"github.com/hajimehoshi/ebiten/v2/vector"
)
// Projectile configuration
type ProjectileConfig struct {
Speed float64
Radius float64
@@ -58,6 +60,8 @@ func (p *Projectile) Draw(screen *ebiten.Image) {
)
}
// Projectile manager
type Manager struct {
Projectiles []*Projectile
}