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

Functions

local function on_collision (e0, e1, v)
 

Variables

local entity = require "nngn.lib.entity"
 
local map = require "nngn.lib.map"
 
local player = require "nngn.lib.player"
 
local entities = {}
 
 name = "coll"
 
 file = "maps/coll.lua"
 
 init = init
 
 heartbeat = heartbeat
 
 on_collision = on_collision
 
 tiles = {0, 1, 0, 0, 1, 1, 0, 0, {}}
 

Function Documentation

◆ on_collision()

local function on_collision ( e0 ,
e1 ,
v  )

Variable Documentation

◆ entities

entities = {}

◆ entity

local entity = require "nngn.lib.entity"

◆ file

file = "maps/coll.lua"

◆ heartbeat

local function heartbeat = heartbeat

◆ init

init = init

◆ map

local map = require "nngn.lib.map"

◆ name

name = "coll"

◆ on_collision

on_collision = on_collision

◆ player

local player = require "nngn.lib.player"

◆ tiles

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