From 09fc5ef46b911f9d7e31cdedd240e7afc4c11c92 Mon Sep 17 00:00:00 2001 From: realtradam Date: Wed, 7 Jul 2021 17:49:00 -0400 Subject: completed functionality --- docs/FelFlame.html | 122 ++- docs/FelFlame/ComponentManager.html | 1627 ++++++++++++++++++++++++++++ docs/FelFlame/Components.html | 32 +- docs/FelFlame/Entities.html | 266 +---- docs/FelFlame/Helper.html | 2 +- docs/FelFlame/Helper/ComponentManager.html | 147 +-- docs/FelFlame/Scenes.html | 761 +++++++++++++ docs/FelFlame/Stage.html | 598 ++++++++++ docs/FelFlame/Systems.html | 150 +-- docs/_index.html | 25 +- docs/class_list.html | 2 +- docs/file.README.html | 6 +- docs/index.html | 6 +- docs/method_list.html | 174 ++- docs/top-level-namespace.html | 2 +- 15 files changed, 3433 insertions(+), 487 deletions(-) create mode 100644 docs/FelFlame/ComponentManager.html create mode 100644 docs/FelFlame/Scenes.html create mode 100644 docs/FelFlame/Stage.html (limited to 'docs') diff --git a/docs/FelFlame.html b/docs/FelFlame.html index 9439492..62ce5bb 100644 --- a/docs/FelFlame.html +++ b/docs/FelFlame.html @@ -95,7 +95,7 @@
Defined in:
component_manager.rb,
- system_manager.rb,
entity_manager.rb,
felflame.rb
+ system_manager.rb,
entity_manager.rb,
scene_manager.rb,
stage_manager.rb,
felflame.rb
@@ -104,7 +104,7 @@

Overview

-

require 'app/ECS/components/00_test_component.rb' require 'app/ECS/components/01_based.rb'

+

The FelFlame namespace where all its functionality resides under.

@@ -118,7 +118,7 @@ - Classes: Components, Entities, Helper, Systems + Classes: ComponentManager, Components, Entities, Scenes, Stage, Systems

@@ -179,6 +179,38 @@
FelFlame::Systems
+
Sce = +
+
+ +

An alias for Scenes

+ + +
+
+
+ + +
+
+
FelFlame::Scenes
+ +
Stg = +
+
+ +

An alias for Stage

+ + +
+
+
+ + +
+
+
FelFlame::Stage
+ @@ -188,12 +220,94 @@ + +

+ Class Method Summary + collapse +

+ + + + + + +
+

Class Method Details

+ + +
+

+ + .callObject + + + + + +

+
+ +

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

+ +
+
+
+ + +
+ + + + +
+
+
+
+13
+14
+15
+
+
# File 'felflame.rb', line 13
+
+def call
+  FelFlame::Stage.call
+end
+
+
+ +
diff --git a/docs/FelFlame/ComponentManager.html b/docs/FelFlame/ComponentManager.html new file mode 100644 index 0000000..ef75405 --- /dev/null +++ b/docs/FelFlame/ComponentManager.html @@ -0,0 +1,1627 @@ + + + + + + + Class: FelFlame::ComponentManager + + — Documentation by YARD 0.9.26 + + + + + + + + + + + + + + + + + + + +
+ + +

Class: FelFlame::ComponentManager + + + +

+
+ +
+
Inherits:
+
+ Object + +
    +
  • Object
  • + + + +
+ show all + +
+
+ + + + + + + + + + + +
+
Defined in:
+
component_manager.rb
+
+ +
+ +

Overview

+
+ +

Component Managers are what is used to create individual components which can be attached to entities. When a Component is created from a Component Manager that has accessors given to it, you can set or get the values of those accessors using standard ruby message sending (e.g @component.var = 5), or by using the #attrs and #update_attrs methods instead.

+ + +
+
+
+ + +
+ + + +

Class Attribute Summary collapse

+
    + +
  • + + + .addition_triggers ⇒ Array<System> + + + + + + + + + readonly + + + + + + + + + +
    +

    Stores references to systems that should be triggered when this component is added to an enitity.

    +
    + +
  • + + +
  • + + + .attr_triggers ⇒ Hash<Symbol, System> + + + + + + + + + readonly + + + + + + + + + +
    +

    Stores references to systems that should be triggered when an attribute from this component changed.

    +
    + +
  • + + +
  • + + + .removal_triggers ⇒ Array<System> + + + + + + + + + readonly + + + + + + + + + +
    +

    Stores references to systems that should be triggered when this component is removed from an enitity.

    +
    + +
  • + + +
+ +

Instance Attribute Summary collapse

+
    + +
  • + + + #addition_triggers ⇒ Array<System> + + + + + + + + + readonly + + + + + + + + + +
    +

    Stores references to systems that should be triggered when a component from this manager is added.

    +
    + +
  • + + +
  • + + + #attr_triggers ⇒ Hash<Symbol, Array<System>> + + + + + + + + + readonly + + + + + + + + + +
    +

    Stores references to systems that should be triggered when an attribute from this manager is changed.

    +
    + +
  • + + +
  • + + + #id ⇒ Integer + + + + + + + + + readonly + + + + + + + + + +
    +

    Holds the unique ID of a component.

    +
    + +
  • + + +
  • + + + #removal_triggers ⇒ Array<System> + + + + + + + + + readonly + + + + + + + + + +
    +

    Stores references to systems that should be triggered when a component from this manager is removed.

    +
    + +
  • + + +
+ + + + + +

+ Class Method Summary + collapse +

+ + + +

+ Instance Method Summary + collapse +

+ + + + +
+

Constructor Details

+ +
+

+ + #initialize(**attrs) ⇒ Component + + + + + +

+
+ +

Creates a new component and sets the values of the attributes given to it. If an attritbute is not passed then it will remain as the default.

+ + +
+
+
+

Parameters:

+
    + +
  • + + attrs + + + (Keyword: Value) + + + + — +
    +

    You can pass any number of Keyword-Value pairs

    +
    + +
  • + +
+ + +
+ + + + +
+
+
+
+104
+105
+106
+107
+108
+109
+110
+111
+112
+113
+114
+115
+116
+117
+118
+119
+120
+121
+122
+
+
# File 'component_manager.rb', line 104
+
+def initialize(**attrs)
+  # Prepare the object
+  # (this is a function created with metaprogramming
+  # in FelFlame::Components
+  set_defaults
+
+  # Generate ID
+  new_id = self.class.data.find_index { |i| i.nil? }
+  new_id = self.class.data.size if new_id.nil?
+  @id = new_id
+
+  # Fill params
+  attrs.each do |key, value|
+    send "#{key}=", value
+  end
+
+  # Save Component
+  self.class.data[new_id] = self
+end
+
+
+ +
+ +
+

Class Attribute Details

+ + + +
+

+ + .addition_triggersArray<System> + + + + + +

+
+ +

Stores references to systems that should be triggered when this component is added to an enitity. Do not edit this array as it is managed by FelFlame automatically.

+ + +
+
+
+ +

Returns:

+
    + +
  • + + + (Array<System>) + + + +
  • + +
+ +
+ + + + +
+
+
+
+136
+137
+138
+
+
# File 'component_manager.rb', line 136
+
+def addition_triggers
+  @addition_triggers ||= []
+end
+
+
+ + + +
+

+ + .attr_triggersHash<Symbol, System> + + + + + +

+
+ +

Stores references to systems that should be triggered when an attribute from this component changed. Do not edit this hash as it is managed by FelFlame automatically.

+ + +
+
+
+ +

Returns:

+
    + +
  • + + + (Hash<Symbol, System>) + + + +
  • + +
+ +
+ + + + +
+
+
+
+152
+153
+154
+
+
# File 'component_manager.rb', line 152
+
+def attr_triggers
+  @attr_triggers ||= {}
+end
+
+
+ + + +
+

+ + .removal_triggersArray<System> + + + + + +

+
+ +

Stores references to systems that should be triggered when this component is removed from an enitity. Do not edit this array as it is managed by FelFlame automatically.

+ + +
+
+
+ +

Returns:

+
    + +
  • + + + (Array<System>) + + + +
  • + +
+ +
+ + + + +
+
+
+
+144
+145
+146
+
+
# File 'component_manager.rb', line 144
+
+def removal_triggers
+  @removal_triggers ||= []
+end
+
+
+ +
+ +
+

Instance Attribute Details

+ + + +
+

+ + #addition_triggersArray<System> + + + + + +

+
+ +

Stores references to systems that should be triggered when a component from this manager is added. Do not edit this array as it is managed by FelFlame automatically.

+ + +
+
+
+ +

Returns:

+
    + +
  • + + + (Array<System>) + + + +
  • + +
+ +
+ + + + +
+
+
+
+81
+82
+83
+
+
# File 'component_manager.rb', line 81
+
+def addition_triggers
+  @addition_triggers ||= []
+end
+
+
+ + + +
+

+ + #attr_triggersHash<Symbol, Array<System>> + + + + + +

+
+ +

Stores references to systems that should be triggered when an attribute from this manager is changed. Do not edit this hash as it is managed by FelFlame automatically.

+ + +
+
+
+ +

Returns:

+
    + +
  • + + + (Hash<Symbol, Array<System>>) + + + +
  • + +
+ +
+ + + + +
+
+
+
+97
+98
+99
+
+
# File 'component_manager.rb', line 97
+
+def attr_triggers
+  @attr_triggers ||= {}
+end
+
+
+ + + +
+

+ + #idInteger + + + + + +

+
+ +

Holds the unique ID of a component. The ID is only unique within the scope of the component manager it was created from.

+ + +
+
+
+ +

Returns:

+
    + +
  • + + + (Integer) + + + +
  • + +
+ +
+ + + + +
+
+
+
+63
+64
+65
+
+
# File 'component_manager.rb', line 63
+
+def id
+  @id
+end
+
+
+ + + +
+

+ + #removal_triggersArray<System> + + + + + +

+
+ +

Stores references to systems that should be triggered when a component from this manager is removed. Do not edit this array as it is managed by FelFlame automatically.

+ + +
+
+
+ +

Returns:

+
    + +
  • + + + (Array<System>) + + + +
  • + +
+ +
+ + + + +
+
+
+
+89
+90
+91
+
+
# File 'component_manager.rb', line 89
+
+def removal_triggers
+  @removal_triggers ||= []
+end
+
+
+ +
+ + +
+

Class Method Details

+ + +
+

+ + .[](component_id) ⇒ Component + + + + + +

+
+ +

Gets a Component from the given unique ID. Usage is simular to how an Array lookup works.

+ + +
+
+
+ +
+

Examples:

+ + +
# this gets the 'Health' Component with ID 7
+FelFlame::Components::Health[7]
+ +
+

Parameters:

+
    + +
  • + + component_id + + + (Integer) + + + +
  • + +
+ +

Returns:

+
    + +
  • + + + (Component) + + + + — +
    +

    Returns the Component that uses the given unique ID, nil if there is no Component associated with the given ID

    +
    + +
  • + +
+ +
+ + + + +
+
+
+
+169
+170
+171
+
+
# File 'component_manager.rb', line 169
+
+def [](component_id)
+  data[component_id]
+end
+
+
+ +
+

+ + .each(&block) ⇒ Enumerator + + + + + +

+
+ +

Iterates over all components within the component manager. Special Enumerable methods like map or each_with_index are not implemented

+ + +
+
+
+ +

Returns:

+
    + +
  • + + + (Enumerator) + + + +
  • + +
+ +
+ + + + +
+
+
+
+176
+177
+178
+
+
# File 'component_manager.rb', line 176
+
+def each(&block)
+  data.compact.each(&block)
+end
+
+
+ +
+ +
+

Instance Method Details

+ + +
+

+ + #attr_changed_trigger_systems(attr) ⇒ Boolean + + + + + +

+
+ +

Execute systems that have been added to execute on variable change

+ + +
+
+
+ +

Returns:

+
    + +
  • + + + (Boolean) + + + + — +
    +

    true

    +
    + +
  • + +
+ +
+ + + + +
+
+
+
+203
+204
+205
+206
+207
+208
+209
+210
+211
+
+
# File 'component_manager.rb', line 203
+
+def attr_changed_trigger_systems(attr)
+  systems_to_execute = self.class.attr_triggers[attr]
+  systems_to_execute = [] if systems_to_execute.nil?
+
+  systems_to_execute |= attr_triggers[attr] unless attr_triggers[attr].nil?
+
+  systems_to_execute.sort_by(&:priority).reverse.each(&:call)
+  true
+end
+
+
+ +
+

+ + #attrsHash<Symbol, Value> + + + + + +

+
+ +

Returns A hash, where all the keys are attributes linked to their respective values.

+ + +
+
+
+ +

Returns:

+
    + +
  • + + + (Hash<Symbol, Value>) + + + + — +
    +

    A hash, where all the keys are attributes linked to their respective values.

    +
    + +
  • + +
+ +
+ + + + +
+
+
+
+234
+235
+236
+237
+238
+239
+240
+
+
# File 'component_manager.rb', line 234
+
+def attrs
+  return_hash = instance_variables.each_with_object({}) do |key, final|
+    final[key.to_s.delete_prefix('@').to_sym] = instance_variable_get(key)
+  end
+  return_hash.delete(:attr_triggers)
+  return_hash
+end
+
+
+ +
+

+ + #deleteBoolean + + + + + +

+
+ +

Removes this component from the list and purges all references to this Component from other Entities, as well as its ID and data.

+ + +
+
+
+ +

Returns:

+
    + +
  • + + + (Boolean) + + + + — +
    +

    true.

    +
    + +
  • + +
+ +
+ + + + +
+
+
+
+215
+216
+217
+218
+219
+220
+221
+222
+223
+224
+225
+226
+227
+228
+229
+230
+231
+
+
# File 'component_manager.rb', line 215
+
+def delete
+  addition_triggers.each do |system|
+    system.clear_triggers component_or_manager: self
+  end
+  # This needs to be cloned because indices get deleted as
+  # the remove command is called, breaking the loop if it
+  # wasn't referencing a clone(will get Nil errors)
+  iter = entities.map(&:clone)
+  iter.each do |entity_id|
+    FelFlame::Entities[entity_id].remove self #unless FelFlame::Entities[entity_id].nil?
+  end
+  self.class.data[id] = nil
+  instance_variables.each do |var|
+    instance_variable_set(var, nil)
+  end
+  true
+end
+
+
+ +
+

+ + #entitiesArray<Integer> + + + + + +

+
+ +

A list of entity ids that are linked to the component

+ + +
+
+
+ +

Returns:

+
    + +
  • + + + (Array<Integer>) + + + +
  • + +
+ +
+ + + + +
+
+
+
+189
+190
+191
+
+
# File 'component_manager.rb', line 189
+
+def entities
+  @entities ||= []
+end
+
+
+ +
+

+ + #to_iInteger + + + + + +

+
+ +

An alias for the ID Reader

+ + +
+
+
+ +

Returns:

+
    + +
  • + + + (Integer) + + + +
  • + +
+ +
+ + + + +
+
+
+
+183
+184
+185
+
+
# File 'component_manager.rb', line 183
+
+def to_i
+  id
+end
+
+
+ +
+

+ + #update_attrs(**opts) ⇒ Hash<Symbol, Value> + + + + + +

+
+ +

Update attribute values using a hash or keywords.

+ + +
+
+
+ +

Returns:

+
    + +
  • + + + (Hash<Symbol, Value>) + + + + — +
    +

    Hash of updated attributes

    +
    + +
  • + +
+ +
+ + + + +
+
+
+
+195
+196
+197
+198
+199
+
+
# File 'component_manager.rb', line 195
+
+def update_attrs(**opts)
+  opts.each do |key, value|
+    send "#{key}=", value
+  end
+end
+
+
+ +
+ +
+ + + +
+ + \ No newline at end of file diff --git a/docs/FelFlame/Components.html b/docs/FelFlame/Components.html index 0690cfe..de48255 100644 --- a/docs/FelFlame/Components.html +++ b/docs/FelFlame/Components.html @@ -111,9 +111,7 @@

Creates component managers and allows accessing them them under the Components namespace as Constants

-

To see how component managers are used please look at the Helper::ComponentManagerTemplate documentation.

- -

TODO: Improve Component overview

+

To see how component managers are used please look at the ComponentManager documentation.

@@ -178,7 +176,7 @@
-

Creates a new component manager.

+

Creates a new component manager.

@@ -233,12 +231,12 @@
 
 
-50
 51
-52
+52 +53 -
# File 'component_manager.rb', line 50
+      
# File 'component_manager.rb', line 51
 
 def each(&block)
   constants.each(&block)
@@ -251,7 +249,7 @@
       

- .new(component_name, *attrs, **attrs_with_defaults) ⇒ ComponentManager + .new(component_name, *attrs, **attrs_with_defaults) ⇒ ComponentManager @@ -260,7 +258,7 @@

-

Creates a new component manager.

+

Creates a new component manager.

@@ -337,7 +335,7 @@
  • - (ComponentManager) + (ComponentManager) @@ -374,7 +372,8 @@ 43 44 45 -46
  • +46 +47
    # File 'component_manager.rb', line 23
    @@ -384,13 +383,14 @@
         raise(NameError.new, "Component Manager '#{component_name}' is already defined")
       end
     
    -  const_set(component_name, Class.new(FelFlame::Helper::ComponentManager) {})
    +
    +  const_set(component_name, Class.new(FelFlame::ComponentManager) {})
       attrs.each do |attr|
         FelFlame::Components.const_get(component_name).attr_accessor attr
       end
       attrs_with_defaults.each do |attr, _default|
    -    #FelFlame::Components.const_get(component_name).attr_accessor attr
    -    FelFlame::Components.const_get(component_name).attr_reader attr
    +    attrs_with_defaults[attr] = _default.dup
    +    FelFlame::Components.const_get(component_name).attr_reader attr
         FelFlame::Components.const_get(component_name).define_method("#{attr}=") do |value|
           attr_changed_trigger_systems(attr) unless value.equal? send(attr)
           instance_variable_set("@#{attr}", value)
    @@ -398,7 +398,7 @@
       end
       FelFlame::Components.const_get(component_name).define_method(:set_defaults) do
         attrs_with_defaults.each do |attr, default|
    -      instance_variable_set("@#{attr}", default)
    +      instance_variable_set("@#{attr}", default.dup)
         end
       end
       FelFlame::Components.const_get(component_name)
    @@ -413,7 +413,7 @@
     
     
           
    diff --git a/docs/FelFlame/Entities.html b/docs/FelFlame/Entities.html
    index 0d7b483..f789cb3 100644
    --- a/docs/FelFlame/Entities.html
    +++ b/docs/FelFlame/Entities.html
    @@ -109,9 +109,7 @@
     

    Overview

    -

    Creates and manages Entities. Allows accessing Entities using their ID

    - -

    TODO: Improve Entity overview

    +

    Creates and manages Entities. Allows accessing Entities using their ID. Entities are just collections of Components.

    @@ -213,30 +211,6 @@

    Iterates over all entities.

    - - - -
  • - - - .from_json(json_string, **opts) ⇒ Object - - - - - - - - - - - - - -
    -

    Creates a new entity using the data from a JSON string TODO: This function is not yet complete.

    -
    -
  • @@ -276,7 +250,7 @@
  • - #components ⇒ Hash + #components ⇒ Hash<Component_Manager, Array<Integer>> @@ -291,7 +265,7 @@
    -

    A hash that uses component manager constant names as keys, and where the values of those keys are arrays that contain the IDs of the components attached to this entity.

    +

    A hash that uses component manager constant names as keys, and where the values of those keys are arrays that contain the IDs of the components attached to this entity.

  • @@ -392,30 +366,6 @@

    An alias for the ID reader.

    - - - -
  • - - - #to_json ⇒ String - - - - - - - - - - - - - -
    -

    Export all data into a JSON String which can then be saved into a file TODO: This function is not yet complete.

    -
    -
  • @@ -482,10 +432,7 @@ 23 24 25 -26 -27 -28 -29
    +26
    # File 'entity_manager.rb', line 16
    @@ -497,9 +444,6 @@
       self.id = new_id
     
       # Add each component
    -  #components.uniq.each do |component|
    -  #  add component
    -  #end
       add(*components)
     
       self.class.data[id] = self
    @@ -645,12 +589,12 @@
           
     
     
    -119
    -120
    -121
    +117 +118 +119
    -
    # File 'entity_manager.rb', line 119
    +      
    # File 'entity_manager.rb', line 117
     
     def [](entity_id)
       data[entity_id]
    @@ -699,12 +643,12 @@
           
     
     
    -126
    -127
    -128
    +124 +125 +126
    -
    # File 'entity_manager.rb', line 126
    +      
    # File 'entity_manager.rb', line 124
     
     def each(&block)
       data.compact.each(&block)
    @@ -712,79 +656,6 @@
         
       
     
    -
    -    
    -      
    -

    - - .from_json(json_string, **opts) ⇒ Object - - - - - -

    -
    - -

    Creates a new entity using the data from a JSON string TODO: This function is not yet complete

    - - -
    -
    -
    -

    Parameters:

    -
      - -
    • - - json_string - - - (String) - - - - — -
      -

      A string that was exported originally using the to_json function

      -
      - -
    • - -
    • - - opts - - - (Keywords) - - - - — -
      -

      What values(its ID or the component IDs) should be overwritten TODO: this might change

      -
      - -
    • - -
    - - -
    - - - - -
    -
    -
    -
    -134
    -
    -
    # File 'entity_manager.rb', line 134
    -
    -def from_json(json_string, **opts) end
    -
    @@ -844,7 +715,7 @@ —
    -

    true if component is added, false if it already is attached or no components given

    +

    true

    @@ -857,6 +728,9 @@
     
     
    +58
    +59
    +60
     61
     62
     63
    @@ -867,12 +741,10 @@
     68
     69
     70
    -71
    -72
    -73
    +71
    -
    # File 'entity_manager.rb', line 61
    +      
    # File 'entity_manager.rb', line 58
     
     def add(*components_to_add)
       components_to_add.each do |component|
    @@ -886,6 +758,7 @@
           check_systems component, :addition_triggers
         end
       end
    +  true
     end
    @@ -895,7 +768,7 @@

    - #componentsHash + #componentsHash<Component_Manager, Array<Integer>> @@ -904,7 +777,7 @@

    -

    A hash that uses component manager constant names as keys, and where the values of those keys are arrays that contain the IDs of the components attached to this entity.

    +

    A hash that uses component manager constant names as keys, and where the values of those keys are arrays that contain the IDs of the components attached to this entity.

    @@ -917,7 +790,7 @@
  • - (Hash) + (Hash<Component_Manager, Array<Integer>>) @@ -931,12 +804,12 @@
     
     
    -33
    -34
    -35
    +30 +31 +32
  • -
    # File 'entity_manager.rb', line 33
    +      
    # File 'entity_manager.rb', line 30
     
     def components
       @components ||= {}
    @@ -977,7 +850,7 @@
           
             —
             
    -

    true.

    +

    true

    @@ -990,6 +863,9 @@
     
     
    +42
    +43
    +44
     45
     46
     47
    @@ -998,13 +874,10 @@
     50
     51
     52
    -53
    -54
    -55
    -56
    +53
    -
    # File 'entity_manager.rb', line 45
    +      
    # File 'entity_manager.rb', line 42
     
     def delete
       components.each do |component_manager, component_array|
    @@ -1074,7 +947,7 @@
           
             —
             
    -

    true if at least one component is removed, false if none of them were attached to the component

    +

    true

    @@ -1087,17 +960,17 @@
     
     
    +88
    +89
     90
     91
     92
     93
     94
    -95
    -96
    -97
    +95
    -
    # File 'entity_manager.rb', line 90
    +      
    # File 'entity_manager.rb', line 88
     
     def remove(*components_to_remove)
       components_to_remove.each do |component|
    @@ -1151,12 +1024,12 @@
           
     
     
    -39
    -40
    -41
    +36 +37 +38
    -
    # File 'entity_manager.rb', line 39
    +      
    # File 'entity_manager.rb', line 36
     
     def to_i
       id
    @@ -1164,61 +1037,6 @@
         
       
     
    -
    -    
    -      
    -

    - - #to_jsonString - - - - - -

    -
    - -

    Export all data into a JSON String which can then be saved into a file TODO: This function is not yet complete

    - - -
    -
    -
    - -

    Returns:

    -
      - -
    • - - - (String) - - - - — -
      -

      A JSON formatted String

      -
      - -
    • - -
    - -
    - - - - -
    -
    -
    -
    -102
    -
    -
    # File 'entity_manager.rb', line 102
    -
    -def to_json() end
    -
    @@ -1226,7 +1044,7 @@ diff --git a/docs/FelFlame/Helper.html b/docs/FelFlame/Helper.html index da17761..acb3005 100644 --- a/docs/FelFlame/Helper.html +++ b/docs/FelFlame/Helper.html @@ -132,7 +132,7 @@ diff --git a/docs/FelFlame/Helper/ComponentManager.html b/docs/FelFlame/Helper/ComponentManager.html index 0d4d93a..1a04d45 100644 --- a/docs/FelFlame/Helper/ComponentManager.html +++ b/docs/FelFlame/Helper/ComponentManager.html @@ -398,7 +398,7 @@
  • - #attr_changed_trigger_systems(attr) ⇒ Object + #attr_changed_trigger_systems(attr) ⇒ Boolean @@ -422,7 +422,7 @@
  • - #attrs ⇒ Hash + #attrs ⇒ Hash<Symbol, Value> @@ -544,31 +544,7 @@
  • - #to_json ⇒ String - - - - - - - - - - - - - -
    -

    Export all data into a JSON String, which could then later be loaded or saved to a file TODO: This function is not yet complete.

    -
    - -
  • - - -
  • - - - #update_attrs(**opts) ⇒ Object + #update_attrs(**opts) ⇒ Hash<Symbol, Value> @@ -1243,7 +1219,7 @@

    - #attr_changed_trigger_systems(attr) ⇒ Object + #attr_changed_trigger_systems(attr) ⇒ Boolean @@ -1259,6 +1235,24 @@

    +

    Returns:

    +
      + +
    • + + + (Boolean) + + + + — +
      +

      true

      +
      + +
    • + +
    @@ -1266,7 +1260,6 @@
     
     
    -202
     203
     204
     205
    @@ -1275,11 +1268,10 @@
     208
     209
     210
    -211
    -212
    +211
    -
    # File 'component_manager.rb', line 202
    +      
    # File 'component_manager.rb', line 203
     
     def attr_changed_trigger_systems(attr)
       systems_to_execute = self.class.attr_triggers[attr]
    @@ -1288,10 +1280,8 @@
       systems_to_execute |= attr_triggers[attr] unless attr_triggers[attr].nil?
     
       systems_to_execute.sort_by(&:priority).reverse.each(&:call)
    -  #self.attr_triggers.each do |system|
    -  #  systems_to_execute |= [system]
    -  #end
    -end
    + true +end
    @@ -1300,7 +1290,7 @@

    - #attrsHash + #attrsHash<Symbol, Value> @@ -1322,7 +1312,7 @@
  • - (Hash) + (Hash<Symbol, Value>) @@ -1341,16 +1331,16 @@
     
     
    +234
     235
     236
     237
     238
     239
    -240
    -241
    +240
  • -
    # File 'component_manager.rb', line 235
    +      
    # File 'component_manager.rb', line 234
     
     def attrs
       return_hash = instance_variables.each_with_object({}) do |key, final|
    @@ -1395,7 +1385,7 @@
           
             —
             
    -

    true.

    +

    true.

    @@ -1408,6 +1398,7 @@
     
     
    +215
     216
     217
     218
    @@ -1423,11 +1414,10 @@
     228
     229
     230
    -231
    -232
    +231
    -
    # File 'component_manager.rb', line 216
    +      
    # File 'component_manager.rb', line 215
     
     def delete
       addition_triggers.each do |system|
    @@ -1557,71 +1547,12 @@
         
       
     
    -
    -    
    -      
    -

    - - #to_jsonString - - - - - -

    -
    - -

    Export all data into a JSON String, which could then later be loaded or saved to a file TODO: This function is not yet complete

    - - -
    -
    -
    - -

    Returns:

    -
      - -
    • - - - (String) - - - - — -
      -

      a JSON formatted String

      -
      - -
    • - -
    - -
    - - - - -
    -
    -
    -
    -246
    -247
    -248
    -
    -
    # File 'component_manager.rb', line 246
    -
    -def to_json
    -  # should return a json or hash of all data in this component
    -end
    -

    - #update_attrs(**opts) ⇒ Object + #update_attrs(**opts) ⇒ Hash<Symbol, Value> @@ -1643,11 +1574,11 @@
  • - + (Hash<Symbol, Value>) - + —

    Hash of updated attributes

    @@ -1686,7 +1617,7 @@
  • diff --git a/docs/FelFlame/Scenes.html b/docs/FelFlame/Scenes.html new file mode 100644 index 0000000..00252ed --- /dev/null +++ b/docs/FelFlame/Scenes.html @@ -0,0 +1,761 @@ + + + + + + + Class: FelFlame::Scenes + + — Documentation by YARD 0.9.26 + + + + + + + + + + + + + + + + + + + +
    + + +

    Class: FelFlame::Scenes + + + +

    +
    + +
    +
    Inherits:
    +
    + Object + +
      +
    • Object
    • + + + +
    + show all + +
    +
    + + + + + + + + + + + +
    +
    Defined in:
    +
    felflame.rb,
    + scene_manager.rb
    +
    +
    + +
    + +

    Overview

    +
    + +

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

    + +

    TODO: Improve Scenes overview

    + + +
    +
    +
    + + +
    + + + +

    Instance Attribute Summary collapse

    +
      + +
    • + + + #const_name ⇒ Object + + + + + + + + + readonly + + + + + + + + + +
      +

      The Constant name assigned to this Scene.

      +
      + +
    • + + +
    • + + + #systems ⇒ Array<System> + + + + + + + + + + + + + + + + +
      +

      The list of Systems this Scene contains.

      +
      + +
    • + + +
    + + + + + +

    + Instance Method Summary + collapse +

    + + + + +
    +

    Constructor Details

    + +
    +

    + + #initialize(name) ⇒ Scenes + + + + + +

    +
    + +

    Create a new Scene using the name given

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + name + + + (String) + + + + — +
      +

      String format must follow requirements of a constant

      +
      + +
    • + +
    + + +
    + + + + +
    +
    +
    +
    +10
    +11
    +12
    +13
    +
    +
    # File 'scene_manager.rb', line 10
    +
    +def initialize(name)
    +  FelFlame::Scenes.const_set(name, self)
    +  @const_name = name
    +end
    +
    +
    + +
    + +
    +

    Instance Attribute Details

    + + + +
    +

    + + #const_nameObject (readonly) + + + + + +

    +
    + +

    The Constant name assigned to this Scene

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +4
    +5
    +6
    +
    +
    # File 'scene_manager.rb', line 4
    +
    +def const_name
    +  @const_name
    +end
    +
    +
    + + + +
    +

    + + #systemsArray<System> + + + + + +

    +
    + +

    The list of Systems this Scene contains

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (Array<System>) + + + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +17
    +18
    +19
    +
    +
    # File 'scene_manager.rb', line 17
    +
    +def systems
    +  @systems ||= []
    +end
    +
    +
    + +
    + + +
    +

    Instance Method Details

    + + +
    +

    + + #add(*systems_to_add) ⇒ Boolean + + + + + +

    +
    + +

    Adds any number of Systems to this Scene

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (Boolean) + + + + — +
      +

      true

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +30
    +31
    +32
    +33
    +34
    +35
    +
    +
    # File 'scene_manager.rb', line 30
    +
    +def add(*systems_to_add)
    +  self.systems |= systems_to_add
    +  systems.sort_by!(&:priority)
    +  FelFlame::Stage.update_systems_list if FelFlame::Stage.scenes.include? self
    +  true
    +end
    +
    +
    + +
    +

    + + #callBoolean + + + + + +

    +
    + +

    Execute all systems in this Scene, in the order of their priority

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (Boolean) + + + + — +
      +

      true

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +23
    +24
    +25
    +26
    +
    +
    # File 'scene_manager.rb', line 23
    +
    +def call
    +  systems.each(&:call)
    +  true
    +end
    +
    +
    + +
    +

    + + #clearBoolean + + + + + +

    +
    + +

    Removes all Systems from this Scene

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (Boolean) + + + + — +
      +

      true

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +48
    +49
    +50
    +51
    +52
    +
    +
    # File 'scene_manager.rb', line 48
    +
    +def clear
    +  systems.clear
    +  FelFlame::Stage.update_systems_list if FelFlame::Stage.scenes.include? self
    +  true
    +end
    +
    +
    + +
    +

    + + #remove(*systems_to_remove) ⇒ Boolean + + + + + +

    +
    + +

    Removes any number of SystemS from this Scene

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (Boolean) + + + + — +
      +

      true

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +39
    +40
    +41
    +42
    +43
    +44
    +
    +
    # File 'scene_manager.rb', line 39
    +
    +def remove(*systems_to_remove)
    +  self.systems -= systems_to_remove
    +  systems.sort_by!(&:priority)
    +  FelFlame::Stage.update_systems_list if FelFlame::Stage.scenes.include? self
    +  true
    +end
    +
    +
    + +
    + +
    + + + +
    + + \ No newline at end of file diff --git a/docs/FelFlame/Stage.html b/docs/FelFlame/Stage.html new file mode 100644 index 0000000..1027477 --- /dev/null +++ b/docs/FelFlame/Stage.html @@ -0,0 +1,598 @@ + + + + + + + Class: FelFlame::Stage + + — Documentation by YARD 0.9.26 + + + + + + + + + + + + + + + + + + + +
    + + +

    Class: FelFlame::Stage + + + +

    +
    + +
    +
    Inherits:
    +
    + Object + +
      +
    • Object
    • + + + +
    + show all + +
    +
    + + + + + + + + + + + +
    +
    Defined in:
    +
    felflame.rb,
    + stage_manager.rb
    +
    +
    + +
    + +

    Overview

    +
    + +

    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 Attribute Summary collapse

    +
      + +
    • + + + .scenes ⇒ Array<Scene> + + + + + + + + + readonly + + + + + + + + + +
      +

      Contains all the Scenes added to the Stage.

      +
      + +
    • + + +
    + + + + + +

    + Class Method Summary + collapse +

    + + + + + +
    +

    Class Attribute Details

    + + + +
    +

    + + .scenesArray<Scene> + + + + + +

    +
    + +

    Contains all the Scenes added to the Stage

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (Array<Scene>) + + + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +58
    +59
    +60
    +
    +
    # File 'stage_manager.rb', line 58
    +
    +def scenes
    +  @scenes ||= []
    +end
    +
    +
    + +
    + + +
    +

    Class Method Details

    + + +
    +

    + + .add(*scenes_to_add) ⇒ Boolean + + + + + +

    +
    + +

    Add any number of Scenes to the Stage

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (Boolean) + + + + — +
      +

      true

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +
    +
    # File 'stage_manager.rb', line 11
    +
    +def add(*scenes_to_add)
    +  self.scenes |= scenes_to_add
    +  scenes_to_add.each do |scene|
    +    self.systems |= scene.systems
    +  end
    +  systems.sort_by!(&:priority)
    +  true
    +end
    +
    +
    + +
    +

    + + .callBoolean + + + + + +

    +
    + +

    Executes one frame of the game. This executes all the Systems in the Scenes added to the Stage. Systems that exist in two or more different Scenes will still only get executed once.

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (Boolean) + + + + — +
      +

      true

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +51
    +52
    +53
    +54
    +
    +
    # File 'stage_manager.rb', line 51
    +
    +def call
    +  systems.each(&:call)
    +  true
    +end
    +
    +
    + +
    +

    + + .clearBoolean + + + + + +

    +
    + +

    Clears all Scenes that were added to the Stage

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (Boolean) + + + + — +
      +

      true

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +43
    +44
    +45
    +46
    +47
    +
    +
    # File 'stage_manager.rb', line 43
    +
    +def clear
    +  systems.clear
    +  scenes.clear
    +  true
    +end
    +
    +
    + +
    +

    + + .remove(*scenes_to_remove) ⇒ Boolean + + + + + +

    +
    + +

    Remove any number of Scenes from the Stage

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (Boolean) + + + + — +
      +

      true

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +22
    +23
    +24
    +25
    +26
    +
    +
    # File 'stage_manager.rb', line 22
    +
    +def remove(*scenes_to_remove)
    +  self.scenes -= scenes_to_remove
    +  update_systems_list
    +  true
    +end
    +
    +
    + +
    + +
    + + + +
    + + \ No newline at end of file diff --git a/docs/FelFlame/Systems.html b/docs/FelFlame/Systems.html index 1bc342a..3586974 100644 --- a/docs/FelFlame/Systems.html +++ b/docs/FelFlame/Systems.html @@ -109,9 +109,9 @@

    Overview

    -

    Creates an manages Systems.

    +

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

    -

    TODO: Improve System overview

    +

    TODO: Improve Systems overview

    @@ -196,6 +196,8 @@ + readonly + @@ -438,7 +440,7 @@
  • - #trigger_when_is_changed(component_or_manager, attr) ⇒ Object + #trigger_when_is_changed(component_or_manager, attr) ⇒ Boolean @@ -584,15 +586,15 @@
     
     
    -67
    -68
    -69
    -70
     71
    -72
    +72 +73 +74 +75 +76
  • -
    # File 'system_manager.rb', line 67
    +      
    # File 'system_manager.rb', line 71
     
     def initialize(name, priority: 0, &block)
       FelFlame::Systems.const_set(name, self)
    @@ -651,12 +653,12 @@
           
     
     
    -20
    -21
    -22
    +24 +25 +26
    -
    # File 'system_manager.rb', line 20
    +      
    # File 'system_manager.rb', line 24
     
     def addition_triggers
       @addition_triggers ||= []
    @@ -707,12 +709,12 @@
           
     
     
    -38
    -39
    -40
    +42 +43 +44
    -
    # File 'system_manager.rb', line 38
    +      
    # File 'system_manager.rb', line 42
     
     def attr_triggers
       @attr_triggers ||= {}
    @@ -723,11 +725,11 @@
     
         
           
    -      
    +      
           

    - #const_nameObject + #const_nameObject (readonly) @@ -849,12 +851,12 @@
     
     
    -29
    -30
    -31
    +33 +34 +35

    -
    # File 'system_manager.rb', line 29
    +      
    # File 'system_manager.rb', line 33
     
     def removal_triggers
       @removal_triggers ||= []
    @@ -910,12 +912,12 @@
           
     
     
    -47
    -48
    -49
    +51 +52 +53
    -
    # File 'system_manager.rb', line 47
    +      
    # File 'system_manager.rb', line 51
     
     def each(&block)
       constants.map { |sym| const_get(sym) }.sort_by(&:priority).reverse.each(&block)
    @@ -957,12 +959,12 @@
           
     
     
    -75
    -76
    -77
    +79 +80 +81
    -
    # File 'system_manager.rb', line 75
    +      
    # File 'system_manager.rb', line 79
     
     def call
       @block.call
    @@ -1035,7 +1037,7 @@
             component_or_manager
           
           
    -        (Component or ComponentManager)
    +        (Component or ComponentManager)
           
           
             (defaults to: nil)
    @@ -1062,7 +1064,7 @@
           
             —
             
    -

    true

    +

    true

    @@ -1075,10 +1077,6 @@
     
     
    -107
    -108
    -109
    -110
     111
     112
     113
    @@ -1143,10 +1141,12 @@
     172
     173
     174
    -175
    +175 +176 +177
    -
    # File 'system_manager.rb', line 107
    +      
    # File 'system_manager.rb', line 111
     
     def clear_triggers(*trigger_types, component_or_manager: nil)
       trigger_types = [:addition_triggers, :removal_triggers, :attr_triggers] if trigger_types.empty?
    @@ -1193,10 +1193,7 @@
             (trigger_types - [:addition_triggers, :removal_triggers, :attr_triggers]).each do |attr|
               next if component_or_manager.attr_triggers[attr].nil?
               component_or_manager.attr_triggers[attr].delete self
    -          #self.attr_triggers[component_or_manager].each do |attr|
    -          #  component_or_manager.attr_triggers[attr].delete self
    -          #end
    -        end
    +        end
             self.attr_triggers[component_or_manager] -= trigger_types unless self.attr_triggers[component_or_manager].nil?
           end
     
    @@ -1216,6 +1213,7 @@
           component_or_manager.send(trigger_type).delete self
         end
       end
    +  true
     end
    @@ -1268,12 +1266,12 @@
     
     
    -80
    -81
    -82
    +84 +85 +86
    -
    # File 'system_manager.rb', line 80
    +      
    # File 'system_manager.rb', line 84
     
     def redefine(&block)
       @block = block
    @@ -1309,7 +1307,7 @@
             component_or_manager
           
           
    -        (Component or ComponentManager)
    +        (Component or ComponentManager)
           
           
           
    @@ -1334,7 +1332,7 @@
           
             —
             
    -

    true

    +

    true

    @@ -1347,14 +1345,14 @@
     
     
    -180
    -181
     182
     183
    -184
    +184 +185 +186
    -
    # File 'system_manager.rb', line 180
    +      
    # File 'system_manager.rb', line 182
     
     def trigger_when_added(component_or_manager)
       self.addition_triggers |= [component_or_manager]
    @@ -1369,7 +1367,7 @@
           

    - #trigger_when_is_changed(component_or_manager, attr) ⇒ Object + #trigger_when_is_changed(component_or_manager, attr) ⇒ Boolean @@ -1385,6 +1383,24 @@

    +

    Returns:

    +
      + +
    • + + + (Boolean) + + + + — +
      +

      true

      +
      + +
    • + +
    @@ -1392,9 +1408,6 @@
     
     
    -196
    -197
    -198
     199
     200
     201
    @@ -1403,10 +1416,14 @@
     204
     205
     206
    -207
    +207 +208 +209 +210 +211 @@ -1451,7 +1469,7 @@ component_or_manager - (Component or ComponentManager) + (Component or ComponentManager) @@ -1476,7 +1494,7 @@ —
    -

    true

    +

    true

    @@ -1489,14 +1507,14 @@
     
     
    -189
    -190
     191
     192
    -193
    +193 +194 +195
    -
    # File 'system_manager.rb', line 196
    +      
    # File 'system_manager.rb', line 199
     
     def trigger_when_is_changed(component_or_manager, attr)
       if component_or_manager.attr_triggers[attr].nil?
    @@ -1419,6 +1436,7 @@
       else
         self.attr_triggers[component_or_manager] |= [attr]
       end
    +  true
     end
    -
    # File 'system_manager.rb', line 189
    +      
    # File 'system_manager.rb', line 191
     
     def trigger_when_removed(component_or_manager)
       self.removal_triggers |= [component_or_manager]
    @@ -1513,7 +1531,7 @@
     
     
           
    diff --git a/docs/_index.html b/docs/_index.html
    index db7838b..24ecfff 100644
    --- a/docs/_index.html
    +++ b/docs/_index.html
    @@ -81,9 +81,9 @@
               
           
             
    -        

    Classes:

    @@ -373,7 +373,7 @@ complete I will use a more verbose explanation as below to help users of the fra diff --git a/docs/index.html b/docs/index.html index 3326748..1f59c82 100644 --- a/docs/index.html +++ b/docs/index.html @@ -90,8 +90,8 @@ I plan to eventually add functionality outside of just ECS such as loading tiles FF::Ent = FelFlame::Entities FF::Cmp = FelFlame::Components FF::Sys = FelFlame::Systems -FF::Sce = FelFlame::Scenes -FF::Stg = FelFlame::Stage +FF::Sce = FelFlame::Scenes +FF::Stg = FelFlame::Stage

    Classes:

    @@ -373,7 +373,7 @@ complete I will use a more verbose explanation as below to help users of the fra diff --git a/docs/method_list.html b/docs/method_list.html index 31380fe..d8804ef 100644 --- a/docs/method_list.html +++ b/docs/method_list.html @@ -46,8 +46,8 @@
  • - [] - FelFlame::Helper::ComponentManager + [] + FelFlame::ComponentManager
  • @@ -68,6 +68,22 @@ +
  • +
    + #add + FelFlame::Scenes +
    +
  • + + +
  • +
    + add + FelFlame::Stage +
    +
  • + +
  • #addition_triggers @@ -78,24 +94,24 @@
  • - #addition_triggers - FelFlame::Helper::ComponentManager + #addition_triggers + FelFlame::ComponentManager
  • - addition_triggers - FelFlame::Helper::ComponentManager + addition_triggers + FelFlame::ComponentManager
  • - #attr_changed_trigger_systems - FelFlame::Helper::ComponentManager + #attr_changed_trigger_systems + FelFlame::ComponentManager
  • @@ -110,24 +126,24 @@
  • - #attr_triggers - FelFlame::Helper::ComponentManager + #attr_triggers + FelFlame::ComponentManager
  • - attr_triggers - FelFlame::Helper::ComponentManager + attr_triggers + FelFlame::ComponentManager
  • - #attrs - FelFlame::Helper::ComponentManager + #attrs + FelFlame::ComponentManager
  • @@ -141,6 +157,46 @@
  • +
    + #call + FelFlame::Scenes +
    +
  • + + +
  • +
    + call + FelFlame::Stage +
    +
  • + + +
  • +
    + call + FelFlame +
    +
  • + + +
  • +
    + #clear + FelFlame::Scenes +
    +
  • + + +
  • +
    + clear + FelFlame::Stage +
    +
  • + + +
  • #clear_triggers FelFlame::Systems @@ -148,7 +204,7 @@
  • -
  • +
  • #components FelFlame::Entities @@ -156,7 +212,7 @@
  • -
  • +
  • #const_name FelFlame::Systems @@ -164,10 +220,18 @@
  • +
  • +
    + #const_name + FelFlame::Scenes +
    +
  • + +
  • - #delete - FelFlame::Helper::ComponentManager + #delete + FelFlame::ComponentManager
  • @@ -198,8 +262,8 @@
  • - each - FelFlame::Helper::ComponentManager + each + FelFlame::ComponentManager
  • @@ -214,56 +278,56 @@
  • - #entities - FelFlame::Helper::ComponentManager + #entities + FelFlame::ComponentManager
  • - from_json - FelFlame::Entities + #id + FelFlame::ComponentManager
  • - #id - FelFlame::Helper::ComponentManager + #id + FelFlame::Entities
  • - #id - FelFlame::Entities + #initialize + FelFlame::Systems
  • - #initialize - FelFlame::Systems + #initialize + FelFlame::ComponentManager
  • - #initialize - FelFlame::Helper::ComponentManager + #initialize + FelFlame::Entities
  • - #initialize - FelFlame::Entities + #initialize + FelFlame::Scenes
  • @@ -302,16 +366,16 @@
  • - #removal_triggers - FelFlame::Helper::ComponentManager + #removal_triggers + FelFlame::ComponentManager
  • - removal_triggers - FelFlame::Helper::ComponentManager + removal_triggers + FelFlame::ComponentManager
  • @@ -326,31 +390,47 @@
  • - #to_i - FelFlame::Helper::ComponentManager + #remove + FelFlame::Scenes
  • - #to_i - FelFlame::Entities + remove + FelFlame::Stage +
    +
  • + + +
  • +
    + scenes + FelFlame::Stage +
    +
  • + + +
  • +
    + #systems + FelFlame::Scenes
  • - #to_json - FelFlame::Helper::ComponentManager + #to_i + FelFlame::ComponentManager
  • - #to_json + #to_i FelFlame::Entities
  • @@ -382,8 +462,8 @@
  • - #update_attrs - FelFlame::Helper::ComponentManager + #update_attrs + FelFlame::ComponentManager
  • diff --git a/docs/top-level-namespace.html b/docs/top-level-namespace.html index acb7f53..aeb94c7 100644 --- a/docs/top-level-namespace.html +++ b/docs/top-level-namespace.html @@ -127,7 +127,7 @@ -- cgit v1.2.3