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

Functions

function on_collision (e0, e1)
 

Variables

 camera< const > = require "nngn.lib.camera"
 
 entity< const > = require "nngn.lib.entity"
 
 map< const > = require "nngn.lib.map"
 
 player< const > = require "nngn.lib.player"
 
 state< const > = require "nngn.lib.state"
 
 entities< const >
 
 stars< const > = {}
 
 conway< const > = require("maps/conway/conway"):new()
 
 maze< const > = require("maps/conway/maze"):new()
 
 chess< const > = require("maps/conway/chess"):new()
 
 name = "conway"
 
 file = "maps/conway.lua"
 
 state = {camera_follow = true}
 
 init = init
 
 entities = entities
 
 reset = reset
 
 heartbeat = heartbeat
 
 on_collision = on_collision
 
 tiles = {0, 1, 0, 0, 1, 1, 0, 0, {}}
 

Function Documentation

◆ on_collision()

function on_collision ( e0  ,
e1   
)

Variable Documentation

◆ camera< const >

camera< const > = require "nngn.lib.camera"

◆ chess< const >

chess< const > = require("maps/conway/chess"):new()

◆ conway< const >

conway< const > = require("maps/conway/conway"):new()

◆ entities

entities = entities

◆ entities< const >

entities< const >

◆ entity< const >

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

◆ file

file = "maps/conway.lua"

◆ heartbeat

heartbeat = heartbeat

◆ init

init = init

◆ map< const >

map< const > = require "nngn.lib.map"

◆ maze< const >

maze< const > = require("maps/conway/maze"):new()

◆ name

name = "conway"

◆ on_collision

on_collision = on_collision

◆ player< const >

player< const > = require "nngn.lib.player"

◆ reset

reset = reset

◆ stars< const >

stars< const > = {}

◆ state

state = {camera_follow = true}

◆ state< const >

state< const > = require "nngn.lib.state"

◆ tiles

tiles = {0, 1, 0, 0, 1, 1, 0, 0, {}}