nngn
Loading...
Searching...
No Matches
maze.lua File Reference

Functions

local function clear_pos (self, x, y)
 
local function pop (self)
 
local function next_generation (self)
 
local function reset (self)
 
function maze new ()
 
function maze start () table.insert(self.stack
 
function maze function maze restart ()
 
function maze init (cell_size, cell_renderer, star_renderer, pos_off)
 
function maze reset ()
 
function maze update (dt_ms)
 

Variables

local entity< const > = require "nngn.lib.entity"
 
local maze< const > = {}
 
maze __index = maze
 

Function Documentation

◆ clear_pos()

local function clear_pos ( self ,
x ,
y  )

◆ init()

function maze init ( cell_size ,
cell_renderer ,
star_renderer ,
pos_off  )

◆ new()

function maze new ( )

◆ next_generation()

local function next_generation ( self )

◆ pop()

local function pop ( self )
Here is the caller graph for this function:

◆ reset() [1/2]

function maze reset ( )

◆ reset() [2/2]

local function reset ( self )

◆ restart()

function maze function maze restart ( )

◆ start()

function maze start ( )

◆ update()

function maze update ( dt_ms )

Variable Documentation

◆ __index

maze __index = maze

◆ entity< const >

local entity< const > = require "nngn.lib.entity"

◆ maze< const >

local maze< const > = {}