mirror of
https://github.com/charmbracelet/harmonica.git
synced 2026-07-19 10:09:33 -06:00
Introduce projectile.Position() utility
This commit is contained in:
parent
862fb70b7b
commit
75a028d558
@ -76,3 +76,8 @@ func (p *Projectile) Update() Point {
|
||||
|
||||
return p.pos
|
||||
}
|
||||
|
||||
// Position returns the position of the projectile
|
||||
func (p *Projectile) Position() Point {
|
||||
return p.pos
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user