simulation

package
v0.0.0-...-5062497 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2018 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AsteroidManager

type AsteroidManager struct {
	// contains filtered or unexported fields
}

func NewAsteroidManager

func NewAsteroidManager(space *state.Space, idManager *utils.IdManager) *AsteroidManager

type Collision

type Collision interface {
	// contains filtered or unexported methods
}

type CollisionManager

type CollisionManager struct {
	// contains filtered or unexported fields
}

func NewCollisionManager

func NewCollisionManager(space *state.Space, eventDispatcher *events.EventDispatcher) *CollisionManager

type ObjectManager

type ObjectManager struct {
	// contains filtered or unexported fields
}

func NewObjectManager

func NewObjectManager(space *state.Space) *ObjectManager

type ProjectileManager

type ProjectileManager struct {
	// contains filtered or unexported fields
}

func NewProjectileManager

func NewProjectileManager(space *state.Space, eventDispatcher *events.EventDispatcher) *ProjectileManager

type SimpleCollision

type SimpleCollision struct{}

type SpaceshipManager

type SpaceshipManager struct {
	// contains filtered or unexported fields
}

func NewSpaceshipManager

func NewSpaceshipManager(space *state.Space, eventDispatcher *events.EventDispatcher) *SpaceshipManager

type Updater

type Updater struct {
	// contains filtered or unexported fields
}

func NewUpdater

func NewUpdater(space *state.Space, monitor *monitor.Monitor, eventDispatcher *events.EventDispatcher,
	idSequencer *utils.IdManager) *Updater

func (*Updater) HandleObjectDestroyed

func (updater *Updater) HandleObjectDestroyed(event *events.ObjectDestroyed)

func (*Updater) HandleTargetAngle

func (updater *Updater) HandleTargetAngle(targetAngleEvent *events.TargetAngle)

func (*Updater) HandleTimeTick

func (updater *Updater) HandleTimeTick(*events.TimeTick)

func (*Updater) HandleUserInput

func (updater *Updater) HandleUserInput(userInputEvent *events.UserInput)

func (*Updater) HandleUserJoined

func (updater *Updater) HandleUserJoined(userJoinedEvent *events.UserJoined)

func (*Updater) HandleUserLeft

func (updater *Updater) HandleUserLeft(userLeftEvent *events.UserLeft)

Jump to

Keyboard shortcuts

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