ship

package
v0.0.0-...-f4faf77 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2021 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ship

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

func CreateShip

func CreateShip(shipName string) *Ship

func (*Ship) GetCurrentHullHitPoints

func (ship *Ship) GetCurrentHullHitPoints() int

func (*Ship) GetName

func (ship *Ship) GetName() string

func (*Ship) IsDestroyed

func (ship *Ship) IsDestroyed() bool

func (*Ship) ShootWeapon

func (ship *Ship) ShootWeapon(target *Ship)

type SystemBasics

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

type SystemCapabilities

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

Jump to

Keyboard shortcuts

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