building

package
v0.0.2-alpha Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Home

type Home struct {
	Id   string           // home id => refer to it self by name
	Room map[string]*Room // civil connection
}

func (*Home) AddRoom

func (h *Home) AddRoom(name string, room *Room)

func (*Home) ExistRoom

func (h *Home) ExistRoom(name string) bool

func (*Home) GetRoom

func (h *Home) GetRoom(name string) *Room

func (*Home) RemoveRoom

func (h *Home) RemoveRoom(name string)

type Room

type Room struct {
	CUID string // id from getway
	RUID string // road by id
}

Jump to

Keyboard shortcuts

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