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

Functions

local function init ()
 
local function check_collectable (e)
 
local function on_collision (e0, e1)
 
local function heartbeat ()
 

Variables

local animation = require "nngn.lib.animation"
 
local camera = require "nngn.lib.camera"
 
local entity = require "nngn.lib.entity"
 
local map = require "nngn.lib.map"
 
local player = require "nngn.lib.player"
 
local texture = require "nngn.lib.texture"
 
local entities
 
local collectables = {}
 
local local tex< close > = texture.load("img/wolfenstein.png")
 
 name = "wolfenstein"
 
 file = "maps/wolfenstein.lua"
 

Function Documentation

◆ check_collectable()

local function check_collectable ( e )

◆ heartbeat()

local function heartbeat ( )

◆ init()

local function init ( )

◆ on_collision()

local function on_collision ( e0 ,
e1  )

Variable Documentation

◆ animation

local animation = require "nngn.lib.animation"

◆ camera

local camera = require "nngn.lib.camera"

◆ collectables

local collectables = {}

◆ entities

local entities

◆ entity

local entity = require "nngn.lib.entity"

◆ file

file = "maps/wolfenstein.lua"

◆ map

local map = require "nngn.lib.map"

◆ name

name = "wolfenstein"

◆ player

local player = require "nngn.lib.player"

◆ tex< close >

local local tex< close > = texture.load("img/wolfenstein.png")

◆ texture

local texture = require "nngn.lib.texture"