3 ms·
Even the API we see in the tutorial is, well, problematic: s1.energize(s2) has the s1 entity transfer energy to the s2 entity ... except that if s2 == s1 (or s
by einpoklum 5y ago
Even the API we see in the tutorial is, well, problematic:
s1.energize(s2) has the s1 entity transfer energy to the s2 entity ... except that if s2 == s1 (or s2 === s1), s1 tries to harvest energy from somewhere.
... that would not pass my code review.