structure

package
v0.0.0-...-7004f9a Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TurnClock

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

TurnClock returns the current game turn.

func (*TurnClock) GetTurn

func (t *TurnClock) GetTurn() uint64

GetTurn returns the current turn.

func (*TurnClock) Increment

func (t *TurnClock) Increment()

Increment increments the turn clock.

type Vec

type Vec interface {
	X() int
	Y() int

	Add(other Vec)
}

func V

func V(x, y int) Vec

Jump to

Keyboard shortcuts

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