diff options
| author | realtradam <[email protected]> | 2021-06-12 00:57:04 -0400 |
|---|---|---|
| committer | realtradam <[email protected]> | 2021-06-12 00:57:04 -0400 |
| commit | 8dcacf9e69214f66be09c120ba474b848047cb53 (patch) | |
| tree | 43692e58a42632fd5fe069bcc3ab4bab96340ece /helpers | |
| parent | 3ad8d2531329c1696a2bf86db8db9237309281ab (diff) | |
| download | FelECS-8dcacf9e69214f66be09c120ba474b848047cb53.tar.gz FelECS-8dcacf9e69214f66be09c120ba474b848047cb53.zip | |
unit testing and cleanup
Diffstat (limited to 'helpers')
| -rw-r--r-- | helpers/00_tileset.rb | 7 | ||||
| -rw-r--r-- | helpers/01_component.rb | 11 |
2 files changed, 16 insertions, 2 deletions
diff --git a/helpers/00_tileset.rb b/helpers/00_tileset.rb index 3890550..c4293cb 100644 --- a/helpers/00_tileset.rb +++ b/helpers/00_tileset.rb @@ -1,3 +1,9 @@ +# Coverage Ignored because the functionality of this +# code will not be used for the core of FelFlame. +# It will most likely be released as a seperate package +# The code will most likely be kept here until it +# eventually will be migrated to a new git repo +# :nocov: class Helper # Returns a loaded map and its dependecies(images,json) # If any are missing then it will load them from files @@ -47,3 +53,4 @@ class Helper end end end +# :nocov: diff --git a/helpers/01_component.rb b/helpers/01_component.rb index cedc32e..2065d0c 100644 --- a/helpers/01_component.rb +++ b/helpers/01_component.rb @@ -1,6 +1,8 @@ class FelFlame class Helper +=begin + # Unused: class Level < FelFlame::Helper::ComponentManager class <<self def data @@ -18,7 +20,8 @@ class FelFlame end end end - +=end +=begin class Array2D < Array def [](val) unless val.nil? @@ -27,7 +30,8 @@ class FelFlame super end end - +=end +=begin class ArrayOfHashes < Array def [](val) unless val.nil? @@ -36,7 +40,9 @@ class FelFlame super end end +=end +=begin module ComponentHelper class <<self def up? char @@ -63,5 +69,6 @@ class FelFlame end end end +=end end end |
