component

package
v0.0.0-...-3b43014 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2017 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bullet

type Bullet struct {
	Owner     ecs.EntityID
	TicksLeft int
}

type Cannon

type Cannon struct {
	Armed          bool
	LastShot       int
	Cooldown       int
	BulletLifetime int
}

type Health

type Health struct {
	Health int
	Max    int
}

type Input

type Input struct {
	Left, Right, Thrusting, Shooting bool
}

type Physics

type Physics struct {
	Body *cp.Body
}

type Ship

type Ship struct {
	Weapon int64
	Shield int64
}

Jump to

Keyboard shortcuts

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