Documentation ¶
Index ¶
Constants ¶
View Source
const HEIGHT_RANGE = 10
View Source
const TERRAIN_VERTICE_COUNT = 76 * 76
Variables ¶
This section is empty.
Functions ¶
func DashboardHandler ¶
func DashboardHandler(w http.ResponseWriter, r *http.Request)
Load up the dashboard TODO: Check to see that user is actually authenticated first
func FaunaHandler ¶
func FaunaHandler(w http.ResponseWriter, r *http.Request)
Renders the fauna template, and handles requests to change the fauna count
func InitTemplates ¶
func InitTemplates()
func TerraHandler ¶
func TerraHandler(w http.ResponseWriter, r *http.Request)
Renders the terrain template, and creates new terrain on certain params
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.