Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Projectile ¶
type Projectile struct {
*object.MovableObject
}
MovableObject структруа танка
func NewProjectile ¶
func NewProjectile(obj *object.MovableObject) *Projectile
NewProjectile возвращает объект пули
func (*Projectile) OnDamage ¶
func (p *Projectile) OnDamage(other interfaces.SceneObject)
Click to show internal directories.
Click to hide internal directories.