class FelFlame
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 accessingEntities
using their {FelFlame::Entities#id ID}.Entities
are just collections ofComponents
.- Scn
Creates and manages
Scenes
.Scenes
are collections ofSystems
, and execute all theSystems
when called upon.TODO: Improve
Scenes
overview- Stg
Stores
Scenes
which you want to execute on each frame. When called upon will execute allSystems
in theScenes
in theStage
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
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