diff options
| author | _Tradam <[email protected]> | 2021-12-30 07:33:27 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-12-30 07:33:27 -0500 |
| commit | 3104eaf4ca0515572aeedc114cb6095a07825d90 (patch) | |
| tree | a1feb0d69557f1a24f9884567d0d939c129c6447 /lib/felflame.rb | |
| parent | 5ef652300e71b572ca58b061610d606840ce19a9 (diff) | |
| download | FelECS-3104eaf4ca0515572aeedc114cb6095a07825d90.tar.gz FelECS-3104eaf4ca0515572aeedc114cb6095a07825d90.zip | |
Revert "Major 4.0 update (#12)"revert-12-arry
This reverts commit 5ef652300e71b572ca58b061610d606840ce19a9.
Diffstat (limited to 'lib/felflame.rb')
| -rw-r--r-- | lib/felflame.rb | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/felflame.rb b/lib/felflame.rb index 54084bf..cf58990 100644 --- a/lib/felflame.rb +++ b/lib/felflame.rb @@ -4,10 +4,10 @@ require_relative 'felflame/system_manager' require_relative 'felflame/scene_manager' require_relative 'felflame/stage_manager' -require_relative 'felflame/version' +require_relative "felflame/version" # The FelFlame namespace where all its functionality resides under. -module FelFlame +class FelFlame class <<self # :nocov: @@ -18,26 +18,26 @@ module FelFlame # :nocov: end - # Creates and manages Entities. Allows iterating or accessing Entities using array methods directly on the class. Entities are just collections of Components. + # Creates and manages Entities. Allows accessing Entities using their {FelFlame::Entities#id ID}. Entities are just collections of Components. class Entities; end - # Creates component managers and allows accessing them them under the {FelFlame::Components} namespace as Constants. + # 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. - module Components; end + class Components; end - # Creates an manages Systems. Systems are the logic of the game and do not contain any data within them. Any systems you create are accessable under the {FelFlame::Systems} namespace as Constants. + # Creates an manages Systems. Systems are the logic of the game and do not contain any data within them. # # TODO: Improve Systems overview class Systems; end - # Creates and manages Scenes. Scenes are collections of Systems, and execute all the Systems when called upon. Any scenes you create are accessable under the {FelFlame::Scenes} namespace as Constants. + # Creates and manages Scenes. Scenes are collections of Systems, and execute all the Systems when called upon. # # TODO: Improve Scenes overview class Scenes; end - # Stores Scenes you add to it 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. - module Stage; end + # 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. + class Stage; end end # An alias for {FelFlame} |
