Documentation ¶
Index ¶
- type TileArea
- func (ta TileArea) CalcNotEmptyTileCount() int
- func (ta TileArea) CalcStat() tile_vector_int.TileVector_int
- func (ta TileArea) DrawBoolMapFalse(xWrap, yWrap func(i int) int, maX, maY int, ma boolmatrix.BoolMatrix, ...)
- func (ta TileArea) DrawBoolMapTrue(xWrap, yWrap func(i int) int, maX, maY int, ma boolmatrix.BoolMatrix, ...)
- func (ta TileArea) DrawCorridors(corridorList []*corridor.Corridor)
- func (ta TileArea) DrawRooms(rs []*room.Room)
- func (ta TileArea) Dup() TileArea
- func (ta TileArea) DupWithFilter(fn func(x, y int) bool) TileArea
- func (ta TileArea) Ellipses(x, w, y, h int, tl tile_flag.TileFlag)
- func (ta TileArea) FillRect(x, w, y, h int, tl tile_flag.TileFlag)
- func (ta TileArea) GetByXY(x, y int) *tile_flag.TileFlag
- func (ta TileArea) GetRectArea(x, y int, w, h int) TileArea
- func (ta TileArea) GetTiles() TileArea
- func (ta TileArea) GetXYLen() (int, int)
- func (ta TileArea) GetXYWrapper() (func(int) int, func(int) int)
- func (ta TileArea) HLine(x, w, y int, tl tile_flag.TileFlag)
- func (ta TileArea) Line(x1, y1, x2, y2 int, tl tile_flag.TileFlag)
- func (ta TileArea) Rect(x, w, y, h int, tl tile_flag.TileFlag)
- func (ta TileArea) String() string
- func (ta TileArea) ToImage(zoom int) *image.RGBA
- func (ta TileArea) TotalPos() int
- func (ta TileArea) VLine(x, y, h int, tl tile_flag.TileFlag)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TileArea ¶
func (TileArea) CalcNotEmptyTileCount ¶
func (TileArea) CalcStat ¶
func (ta TileArea) CalcStat() tile_vector_int.TileVector_int
func (TileArea) DrawBoolMapFalse ¶
func (ta TileArea) DrawBoolMapFalse(xWrap, yWrap func(i int) int, maX, maY int, ma boolmatrix.BoolMatrix, tl tile_flag.TileFlag)
func (TileArea) DrawBoolMapTrue ¶
func (ta TileArea) DrawBoolMapTrue(xWrap, yWrap func(i int) int, maX, maY int, ma boolmatrix.BoolMatrix, tl tile_flag.TileFlag)
func (TileArea) DrawCorridors ¶
func (TileArea) GetRectArea ¶
GetRectArea dup rect area start x,y, size w,h
Click to show internal directories.
Click to hide internal directories.