Documentation
¶
Overview ¶
Package fov implements basic recursive shadowcasting for displaying a field of view on a 2D Grid The exact structure of the grid has been abstracted through an interface that merely provides 3 methods expected of any grid-based implementation
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GridMap ¶
GridMap is meant to represent the basic functionality that is required to detect the opaqueness and boundaries of a 2D grid
type View ¶
type View struct {
Visible gridSet
}
View is the item which stores the visible set of cells any time it is called. This should be called any time a player's position is updated
Click to show internal directories.
Click to hide internal directories.