diff --git a/physics.go b/physics.go index ef3a31e..78fbcff 100644 --- a/physics.go +++ b/physics.go @@ -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 +}