diff options
| author | realtradam <[email protected]> | 2021-07-07 01:06:51 -0400 |
|---|---|---|
| committer | realtradam <[email protected]> | 2021-07-07 01:06:51 -0400 |
| commit | 4758c32fbd5cba714341f9735a994fd244664ff7 (patch) | |
| tree | bc7a6ebcb64557337823ba62440719a7a5fcc584 /entity_manager.rb | |
| parent | a96733c75ce7caff16a1d79a9caa1894ed95d2ca (diff) | |
| download | FelECS-4758c32fbd5cba714341f9735a994fd244664ff7.tar.gz FelECS-4758c32fbd5cba714341f9735a994fd244664ff7.zip | |
cleaned up documentation a little
Diffstat (limited to 'entity_manager.rb')
| -rw-r--r-- | entity_manager.rb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/entity_manager.rb b/entity_manager.rb index 2e1b845..efa685f 100644 --- a/entity_manager.rb +++ b/entity_manager.rb @@ -2,7 +2,13 @@ class FelFlame class Entities # Holds the unique ID of this entity # @return [Integer] - attr_accessor :id + attr_reader :id + + # A seperate attr_writer was made for documentation readability reasons. + # Yard will list attr_reader is readonly which is my intention. + # This value needs to be changable as it is set by other functions. + # @!visibility private + attr_writer :id # Creating a new Entity # @param components [Components] Can be any number of components, identical duplicates will be automatically purged however different components from the same component manager are allowed. |
