testutils

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2025 License: LGPL-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 AttackPlayerCommand

type AttackPlayerCommand struct{ Value int }

func (AttackPlayerCommand) Name

func (AttackPlayerCommand) Name() string

type CreatePlayerCommand

type CreatePlayerCommand struct{ Value int }

func (CreatePlayerCommand) Name

func (CreatePlayerCommand) Name() string

type EmptySubjectEvent

type EmptySubjectEvent struct{ Value int }

func (EmptySubjectEvent) Name

func (EmptySubjectEvent) Name() string

type Experience

type Experience struct{ Value int }

func (Experience) Name

func (Experience) Name() string

type Health

type Health struct {
	Value int `json:"value"`
}

func (Health) Name

func (Health) Name() string

type InvalidEmptyCommand

type InvalidEmptyCommand struct{}

func (InvalidEmptyCommand) Name

func (InvalidEmptyCommand) Name() string

type ItemDropEvent

type ItemDropEvent struct{ Value int }

func (ItemDropEvent) Name

func (ItemDropEvent) Name() string

type ItemDropSystemEvent

type ItemDropSystemEvent struct{ Value int }

func (ItemDropSystemEvent) Name

func (ItemDropSystemEvent) Name() string

type Level

type Level struct{ Value int }

func (Level) Name

func (Level) Name() string

type MapComponent

type MapComponent struct {
	Items map[string]int `json:"items"`
}

func (MapComponent) Name

func (MapComponent) Name() string

type PlayerDeathEvent

type PlayerDeathEvent struct{ Value int }

func (PlayerDeathEvent) Name

func (PlayerDeathEvent) Name() string

type PlayerDeathSystemEvent

type PlayerDeathSystemEvent struct{ Value int }

func (PlayerDeathSystemEvent) Name

type PlayerTag

type PlayerTag struct{ Tag string }

func (PlayerTag) Name

func (PlayerTag) Name() string

type Position

type Position struct{ X, Y int }

func (Position) Name

func (Position) Name() string

type Velocity

type Velocity struct{ X, Y int }

func (Velocity) Name

func (Velocity) Name() string

Jump to

Keyboard shortcuts

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