Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RoomManager ¶
type RoomManager struct { XWrapper *wrapper.Wrapper `prettystring:"simple"` YWrapper *wrapper.Wrapper `prettystring:"simple"` // contains filtered or unexported fields }
func New ¶
func New(w, h int) *RoomManager
func (*RoomManager) GetCount ¶
func (rm *RoomManager) GetCount() int
func (*RoomManager) GetRoomArea ¶
func (rm *RoomManager) GetRoomArea() [][]*room.Room
func (*RoomManager) GetRoomByPos ¶
func (rm *RoomManager) GetRoomByPos(x, y int) *room.Room
func (*RoomManager) GetRoomList ¶
func (rm *RoomManager) GetRoomList() []*room.Room
Click to show internal directories.
Click to hide internal directories.