rogue

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: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type World

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

World represents the root World.

func NewWorld

func NewWorld() *World

func (*World) AddObject

func (w *World) AddObject(object object.GameObject)

func (*World) AddSystem

func (w *World) AddSystem(sys systems.System, priority int)

func (*World) LoadMap

func (w *World) LoadMap(m cartography.Map)

func (*World) Tick

func (w *World) Tick() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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