nngn
|
Functions | |
local function | next_generation (self) |
function | gen_adjacent (self) |
function | alive (board, size, r, x, y) |
function | gen_actions (self, adj) |
function | gen (self, new, kill) |
function | kill (kill) |
function conway | new () |
function conway | start () self.started |
function conway restart() self function conway | init (cell_size, cell_renderer, pos_off) |
function conway | reset () |
function conway | update (dt_ms) |
Variables | |
local | entity< const > = require "nngn.lib.entity" |
local | board_init< const > = |
local | conway< const > = {} |
conway | __index = conway |
function alive | ( | board | , |
size | , | ||
r | , | ||
x | , | ||
y | ) |
function gen_actions | ( | self | , |
adj | ) |
function gen_adjacent | ( | self | ) |
function conway restart() self function conway init | ( | cell_size | , |
cell_renderer | , | ||
pos_off | ) |
function kill | ( | kill | ) |
function conway new | ( | ) |
local function next_generation | ( | self | ) |
function conway reset | ( | ) |
function conway start | ( | ) |
function conway update | ( | dt_ms | ) |
conway __index = conway |
local board_init< const > = |
local conway< const > = {} |