felflame 4.0.0 → 4.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -1
- data/CHANGELOG.mdown +32 -32
- data/Gemfile.lock +1 -1
- data/docs/FelFlame/ComponentManager.html +1 -1
- data/docs/FelFlame/Components.html +1 -1
- data/docs/FelFlame/Entities.html +1 -1
- data/docs/FelFlame/Order.html +1 -1
- data/docs/FelFlame/Scenes.html +1 -1
- data/docs/FelFlame/Stage.html +1 -1
- data/docs/FelFlame/Systems.html +1 -1
- data/docs/FelFlame.html +5 -5
- data/docs/Felflame_.html +2 -2
- data/docs/_index.html +1 -1
- data/docs/file.README.html +1 -1
- data/docs/index.html +1 -1
- data/docs/top-level-namespace.html +1 -1
- data/felflame.gemspec +1 -1
- data/lib/felflame/version.rb +1 -1
- data/lib/felflame.rb +3 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cec067b89ac14359b45b79e06fecca67e8d7f48eb30f1ce81e799b0a0e2fe589
|
4
|
+
data.tar.gz: ab4dad9aad4b318e95e536d68997903c0827b94c350c49ce2cc848d2aa446542
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d93839605990768797fa65d9bd2b3f66b9a1dc79f53a26a1a9aa6ff7147b128a3715a1f35270ddecd26e979e306edf7166566a733089e7a1311396506a4a7e11
|
7
|
+
data.tar.gz: bd63c7c26f97f8387b3b9eb717d60e6ce6197b8b20f58b75ade45e17a114118716552a7e75833854ea44094c42c3b66d29dfa7deeed2ff43b1901ab419717616
|
data/.rubocop.yml
CHANGED
data/CHANGELOG.mdown
CHANGED
@@ -20,54 +20,54 @@
|
|
20
20
|
- Various arrays are automatically compacted
|
21
21
|
|
22
22
|
![Added](https://img.shields.io/badge/-Added-brightgreen)
|
23
|
-
|
23
|
+
- Classes and Modules which used a data array now have the entire set of array methods available to their respective Classes and Modules
|
24
24
|
- Convenience methods for accessing a single entity in a component(`@component.entity`) and accessing a single entity in a component(`@entity.component[@component_manager]`)
|
25
|
-
|
25
|
+
- `FelFlame::Order` class which can set the order of your Scenes and Systems
|
26
26
|
|
27
|
-
|
28
|
-
|
29
|
-
|
27
|
+
![Fixed](https://img.shields.io/badge/-Fixed-blue)
|
28
|
+
- Replaced all instances of `sort_by!` with `sort_by` for compatibility with mruby
|
29
|
+
- Minor optimizations such as less array duplication
|
30
30
|
|
31
31
|
## [3.0.0](https://github.com/realtradam/FelFlame/releases/tag/3.0.0) - 2021-07-12
|
32
|
-
|
33
|
-
|
32
|
+
![Changed](https://img.shields.io/badge/-Changed-yellow)
|
33
|
+
- The Scene alias was changed from ```FelFlame::Sce``` to ```FelFlame::Scn``` as it is more intuitive.
|
34
34
|
|
35
35
|
## [2.0.0](https://github.com/realtradam/FelFlame/releases/tag/2.0.0) - 2021-07-10
|
36
|
-
|
37
|
-
|
38
|
-
|
36
|
+
![Changed](https://img.shields.io/badge/-Changed-yellow)
|
37
|
+
- Entities and Components now reference each other using the objects themselves rather then their id's
|
38
|
+
```ruby
|
39
39
|
# before:
|
40
|
-
|
41
|
-
# iterate over id's, usually would need to do a lookup to get the component itself
|
42
|
-
|
40
|
+
@entity.components[@component_manager].each do |component_id|
|
41
|
+
# iterate over id's, usually would need to do a lookup to get the component itself
|
42
|
+
end
|
43
43
|
|
44
44
|
# after:
|
45
|
-
|
46
|
-
# iterate over the components themselves! No need for lookup anymore
|
47
|
-
|
48
|
-
|
49
|
-
|
45
|
+
@entity.components[@component_manager].each do |component|
|
46
|
+
# iterate over the components themselves! No need for lookup anymore
|
47
|
+
end
|
48
|
+
```
|
49
|
+
```ruby
|
50
50
|
# same for components referencing entities
|
51
51
|
# before:
|
52
|
-
|
53
|
-
#iterate over id's
|
54
|
-
|
52
|
+
@component.entities.each do |entity_id|
|
53
|
+
#iterate over id's
|
54
|
+
end
|
55
55
|
|
56
56
|
# after:
|
57
|
-
|
58
|
-
# directly iterate over entities themselves!
|
59
|
-
|
60
|
-
|
61
|
-
|
57
|
+
@component.entities.each do |entity|
|
58
|
+
# directly iterate over entities themselves!
|
59
|
+
end
|
60
|
+
```
|
61
|
+
|
62
62
|
|
63
63
|
## [1.0.2](https://github.com/realtradam/FelFlame/releases/tag/1.0.2) - 2021-07-09
|
64
|
-
|
65
|
-
|
64
|
+
![Fixed](https://img.shields.io/badge/-Fixed-blue)
|
65
|
+
- Stripped superflous files shrinking gem size significantly
|
66
66
|
|
67
67
|
## [1.0.1](https://github.com/realtradam/FelFlame/releases/tag/1.0.1) - 2021-07-09
|
68
|
-
|
69
|
-
|
68
|
+
![Fixed](https://img.shields.io/badge/-Fixed-blue)
|
69
|
+
- Defining attributes in components are no longer allowed to overwrite methods
|
70
70
|
|
71
71
|
## [1.0.0](https://github.com/realtradam/FelFlame/releases/tag/1.0.0) - 2021-07-09
|
72
|
-
|
73
|
-
|
72
|
+
![Added](https://img.shields.io/badge/-Added-brightgreen)
|
73
|
+
- Initial release
|
data/Gemfile.lock
CHANGED
@@ -1229,7 +1229,7 @@
|
|
1229
1229
|
</div>
|
1230
1230
|
|
1231
1231
|
<div id="footer">
|
1232
|
-
Generated on
|
1232
|
+
Generated on Tue Feb 1 23:28:33 2022 by
|
1233
1233
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1234
1234
|
0.9.26 (ruby-2.7.3).
|
1235
1235
|
</div>
|
@@ -323,7 +323,7 @@
|
|
323
323
|
</div>
|
324
324
|
|
325
325
|
<div id="footer">
|
326
|
-
Generated on
|
326
|
+
Generated on Tue Feb 1 23:28:33 2022 by
|
327
327
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
328
328
|
0.9.26 (ruby-2.7.3).
|
329
329
|
</div>
|
data/docs/FelFlame/Entities.html
CHANGED
@@ -782,7 +782,7 @@
|
|
782
782
|
</div>
|
783
783
|
|
784
784
|
<div id="footer">
|
785
|
-
Generated on
|
785
|
+
Generated on Tue Feb 1 23:28:33 2022 by
|
786
786
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
787
787
|
0.9.26 (ruby-2.7.3).
|
788
788
|
</div>
|
data/docs/FelFlame/Order.html
CHANGED
@@ -241,7 +241,7 @@
|
|
241
241
|
</div>
|
242
242
|
|
243
243
|
<div id="footer">
|
244
|
-
Generated on
|
244
|
+
Generated on Tue Feb 1 23:28:33 2022 by
|
245
245
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
246
246
|
0.9.26 (ruby-2.7.3).
|
247
247
|
</div>
|
data/docs/FelFlame/Scenes.html
CHANGED
@@ -755,7 +755,7 @@
|
|
755
755
|
</div>
|
756
756
|
|
757
757
|
<div id="footer">
|
758
|
-
Generated on
|
758
|
+
Generated on Tue Feb 1 23:28:33 2022 by
|
759
759
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
760
760
|
0.9.26 (ruby-2.7.3).
|
761
761
|
</div>
|
data/docs/FelFlame/Stage.html
CHANGED
@@ -562,7 +562,7 @@
|
|
562
562
|
</div>
|
563
563
|
|
564
564
|
<div id="footer">
|
565
|
-
Generated on
|
565
|
+
Generated on Tue Feb 1 23:28:33 2022 by
|
566
566
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
567
567
|
0.9.26 (ruby-2.7.3).
|
568
568
|
</div>
|
data/docs/FelFlame/Systems.html
CHANGED
@@ -1495,7 +1495,7 @@
|
|
1495
1495
|
</div>
|
1496
1496
|
|
1497
1497
|
<div id="footer">
|
1498
|
-
Generated on
|
1498
|
+
Generated on Tue Feb 1 23:28:33 2022 by
|
1499
1499
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1500
1500
|
0.9.26 (ruby-2.7.3).
|
1501
1501
|
</div>
|
data/docs/FelFlame.html
CHANGED
@@ -289,12 +289,12 @@
|
|
289
289
|
<pre class="lines">
|
290
290
|
|
291
291
|
|
292
|
-
|
293
|
-
|
294
|
-
|
292
|
+
21
|
293
|
+
22
|
294
|
+
23</pre>
|
295
295
|
</td>
|
296
296
|
<td>
|
297
|
-
<pre class="code"><span class="info file"># File 'lib/felflame.rb', line
|
297
|
+
<pre class="code"><span class="info file"># File 'lib/felflame.rb', line 21</span>
|
298
298
|
|
299
299
|
<span class='kw'>def</span> <span class='id identifier rubyid_call'>call</span>
|
300
300
|
<span class='const'><span class='object_link'><a href="" title="FelFlame (module)">FelFlame</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="FelFlame/Stage.html" title="FelFlame::Stage (module)">Stage</a></span></span><span class='period'>.</span><span class='id identifier rubyid_call'><span class='object_link'><a href="FelFlame/Stage.html#call-class_method" title="FelFlame::Stage.call (method)">call</a></span></span>
|
@@ -309,7 +309,7 @@
|
|
309
309
|
</div>
|
310
310
|
|
311
311
|
<div id="footer">
|
312
|
-
Generated on
|
312
|
+
Generated on Tue Feb 1 23:28:33 2022 by
|
313
313
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
314
314
|
0.9.26 (ruby-2.7.3).
|
315
315
|
</div>
|
data/docs/Felflame_.html
CHANGED
@@ -117,7 +117,7 @@
|
|
117
117
|
|
118
118
|
</div>
|
119
119
|
</dt>
|
120
|
-
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>4.0.
|
120
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>4.0.1</span><span class='tstring_end'>'</span></span></pre></dd>
|
121
121
|
|
122
122
|
</dl>
|
123
123
|
|
@@ -133,7 +133,7 @@
|
|
133
133
|
</div>
|
134
134
|
|
135
135
|
<div id="footer">
|
136
|
-
Generated on
|
136
|
+
Generated on Tue Feb 1 23:28:33 2022 by
|
137
137
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
138
138
|
0.9.26 (ruby-2.7.3).
|
139
139
|
</div>
|
data/docs/_index.html
CHANGED
@@ -183,7 +183,7 @@
|
|
183
183
|
</div>
|
184
184
|
|
185
185
|
<div id="footer">
|
186
|
-
Generated on
|
186
|
+
Generated on Tue Feb 1 23:28:33 2022 by
|
187
187
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
188
188
|
0.9.26 (ruby-2.7.3).
|
189
189
|
</div>
|
data/docs/file.README.html
CHANGED
@@ -550,7 +550,7 @@ E.g priority 1 will go first, priority 2 will go second, etcetera. </p>
|
|
550
550
|
</div></div>
|
551
551
|
|
552
552
|
<div id="footer">
|
553
|
-
Generated on
|
553
|
+
Generated on Tue Feb 1 23:28:33 2022 by
|
554
554
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
555
555
|
0.9.26 (ruby-2.7.3).
|
556
556
|
</div>
|
data/docs/index.html
CHANGED
@@ -550,7 +550,7 @@ E.g priority 1 will go first, priority 2 will go second, etcetera. </p>
|
|
550
550
|
</div></div>
|
551
551
|
|
552
552
|
<div id="footer">
|
553
|
-
Generated on
|
553
|
+
Generated on Tue Feb 1 23:28:33 2022 by
|
554
554
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
555
555
|
0.9.26 (ruby-2.7.3).
|
556
556
|
</div>
|
@@ -127,7 +127,7 @@
|
|
127
127
|
</div>
|
128
128
|
|
129
129
|
<div id="footer">
|
130
|
-
Generated on
|
130
|
+
Generated on Tue Feb 1 23:28:33 2022 by
|
131
131
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
132
132
|
0.9.26 (ruby-2.7.3).
|
133
133
|
</div>
|
data/felflame.gemspec
CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.authors = ['Tradam']
|
9
9
|
spec.email = ['felflame@tradam.dev']
|
10
10
|
|
11
|
-
spec.summary = 'The Engine Agnostic ECS Ruby Framework'
|
11
|
+
spec.summary = 'Renamed to FelECS: https://rubygems.org/gems/felecs' #'The Engine Agnostic ECS Ruby Framework'
|
12
12
|
# spec.description = "TODO: Write a longer description or delete this line."
|
13
13
|
spec.homepage = 'https://felflame.tradam.fyi'
|
14
14
|
spec.license = 'MIT'
|
data/lib/felflame/version.rb
CHANGED
data/lib/felflame.rb
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
+
puts 'WARNING: you are using a deprecated gem, it has been renamed.'
|
4
|
+
puts 'Please change to: https://rubygems.org/gems/felecs'
|
5
|
+
|
3
6
|
require_relative 'felflame/entity_manager'
|
4
7
|
require_relative 'felflame/component_manager'
|
5
8
|
require_relative 'felflame/system_manager'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: felflame
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tradam
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-02-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest-reporters
|
@@ -215,5 +215,5 @@ requirements: []
|
|
215
215
|
rubygems_version: 3.1.6
|
216
216
|
signing_key:
|
217
217
|
specification_version: 4
|
218
|
-
summary:
|
218
|
+
summary: 'Renamed to FelECS: https://rubygems.org/gems/felecs'
|
219
219
|
test_files: []
|