projectile

package
v0.0.0-...-281f1f0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 5, 2022 License: MIT Imports: 3 Imported by: 0

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL