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

Functions

local local function chicken (grid, grid_pos, angry)
 
local function key_callback (key, press, mods)
 
local function on_collision (e0, e1)
 

Variables

local entity = require "nngn.lib.entity"
 
local input = require "nngn.lib.input"
 
local map = require "nngn.lib.map"
 
local player = require "nngn.lib.player"
 
local textbox = require "nngn.lib.textbox"
 
local texture = require "nngn.lib.texture"
 
local grid< const > = require("maps.harvest_moon.grid"):new()
 
local entities = entities
 
local chickens
 
local ripe_crops
 
local score< const > = {}
 
 name = "hm"
 
 file = "maps/harvest_moon.lua"
 
 state = {camera = true}
 
 init = init
 
 reset = reset
 
 heartbeat = heartbeat
 
 key_callback = key_callback
 
 on_collision = on_collision
 

Function Documentation

◆ chicken()

local local function chicken ( grid ,
grid_pos ,
angry  )

◆ key_callback()

local function key_callback ( key ,
press ,
mods  )

◆ on_collision()

local function on_collision ( e0 ,
e1  )

Variable Documentation

◆ chickens

local chickens

◆ entities

entities = entities

◆ entity

local entity = require "nngn.lib.entity"

◆ file

file = "maps/harvest_moon.lua"

◆ grid< const >

local grid< const > = require("maps.harvest_moon.grid"):new()

◆ heartbeat

heartbeat = heartbeat

◆ init

init = init

◆ input

local input = require "nngn.lib.input"

◆ key_callback

key_callback = key_callback

◆ map

local map = require "nngn.lib.map"

◆ name

name = "hm"

◆ on_collision

on_collision = on_collision

◆ player

local player = require "nngn.lib.player"

◆ reset

reset = reset

◆ ripe_crops

local ripe_crops

◆ score< const >

local score< const > = {}

◆ state

state = {camera = true}

◆ textbox

local textbox = require "nngn.lib.textbox"

◆ texture

local texture = require "nngn.lib.texture"