Constants

wallWidth → double

default wall width the game is using for the outer walls

20.0

Typedefs

ActorFactory() Actor

Factory function that creates an Actor

Enums

EnemyState

States an enemy can have during playtime

Classes

Actor

Base class used for entities in the world

ActorData

Basic data needed to create and spawn an actor

BigBed

A big bed

BigRedSpider

A big red spider (ferrari spider)

BigSpider

A big spider

Board

A board

Box

A box shaped prop

Chair

A chair

Character

Class for the "hero" possesed by the player

DOMView

DOMView is a helper class for common operations on the DOM

Door

The door

Enemy

Base class for any type of enemy

Flower

A flower

GameController

Instantiates model and view, controls the start/end of the game and passes input from the user onto the model.

GameMode

Class for a gameinstance which represents the current game

GameView

Handles view operations of the game

Lamp

A lamp

Level

Level loads, parses and holds the data of a single level.json

LevelManager

LevelManager loads and holds the level list and also offers operations on the localStorage to store and retrieve "unlocked" and "current" level

Pawn

Base class used for entities which are able to move

Prop

Base class for any prop which has collision

Shrub

A shrub

SmallBed

A small bed

Spider

Base class for a spider enemy

Table

A table

Tree

A tree

World

The world the game is running in