class FF

The FelFlame namespace where all its functionality resides under.

Constants

Cmp

Creates component managers and allows accessing them them under the {FelFlame::Components} namespace as Constants

To see how component managers are used please look at the {FelFlame::ComponentManager} documentation.

Ent

Creates and manages Entities. Allows accessing Entities using their {FelFlame::Entities#id ID}. Entities are just collections of Components.

Scn

Creates and manages Scenes. Scenes are collections of Systems, and execute all the Systems when called upon.

TODO: Improve Scenes overview

Stg

Stores Scenes which you want to execute on each frame. When called upon will execute all Systems in the Scenes in the Stage and will execute them according to their priority order.

Sys

Creates an manages Systems. Systems are the logic of the game and do not contain any data within them.

TODO: Improve Systems overview

Public Class Methods

call() click to toggle source

An alias for {FelFlame::Stage.call}. It executes a single frame in the game.

# File lib/felflame.rb, line 15
def call
  FelFlame::Stage.call
end