commands

package
v0.0.0-...-cc63efc Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2024 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 Combat

type Combat struct {
	Attacker interface{}
	Defender interface{}
}

type CombatResult

type CombatResult struct {
	Winner    interface{}
	Loser     interface{}
	ExpGained int
	Destroyed bool
	Fled      bool
}

type Command

type Command interface {
}

type Face

type Face struct {
	X, Y int
}

type Investigate

type Investigate struct {
	Type string
	X, Y int
	ID   int
}

type Prompt

type Prompt struct {
	Items        []string
	Message      string
	Handler      func(int, string) bool
	ShowVersions bool
}

type Step

type Step struct {
	X, Y int
}

type Travel

type Travel struct {
	Room             string
	Tag              string
	Target           interface{}
	OffsetX, OffsetY int
}

Jump to

Keyboard shortcuts

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