Documentation ¶
Index ¶
- func GenCave(atlas *Atlas)
- func GenTestlevel(atlas *Atlas)
- func Translate(screen image.Rectangle, center image.Point, atlas image.Rectangle) image.Point
- type Atlas
- func (atlas *Atlas) Bounds() image.Rectangle
- func (atlas *Atlas) ExploreAll()
- func (atlas *Atlas) GetFeature(pos image.Point) aspect.Feature
- func (atlas *Atlas) Glyph(p image.Point) Glyph
- func (atlas *Atlas) IsPassable(p image.Point) bool
- func (atlas *Atlas) IsSeen(p image.Point) bool
- func (atlas *Atlas) IsTransparent(p image.Point) bool
- func (atlas *Atlas) IsVisible(p image.Point) bool
- func (atlas *Atlas) IsWallable(p image.Point) bool
- func (atlas *Atlas) RandomFloor() image.Point
- func (atlas *Atlas) SetFeature(pos image.Point, feature aspect.Feature)
- func (atlas *Atlas) SetVisible(p image.Point)
- func (atlas *Atlas) Vision(source image.Point)
- type Cell
- type Glyph
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenTestlevel ¶
func GenTestlevel(atlas *Atlas)
Types ¶
type Atlas ¶
type Atlas struct {
// contains filtered or unexported fields
}
func (*Atlas) ExploreAll ¶
func (atlas *Atlas) ExploreAll()
func (*Atlas) RandomFloor ¶
func (*Atlas) SetVisible ¶
Click to show internal directories.
Click to hide internal directories.