Changelog
What's Changed
How did we end up here?
- Api is now in the api package. :tada: (I know very rare)
- Remove
TickingSpell
in favor of adding ticking toSpell
allowing for a cleaner implementation. - Added
SpellEntity
Spell
s are now constructed without a caster.- Improve network usage by
NebulaSpellManager
andNebulaManaManager
. - Added
isEmpty
check toSpell-
andManaManager
s to easily check if a Manager has been created. - Added
SpellType.Builder#parallelCast
to let spells easily control if they can be cast in parallel. - Added
SpellType.Builder#castability
so that a spellType being able to be cast can be checked without creating a Spell. (This should done instead of overridingSpell#isCastable
) SpellManager#isCastable
should NO LONGER check for the Manager. The Managers are independent of each other now! UseSpellType#isCastable
orSpell#isCastable
!
Power to the Spell
Spell#onEnd()
is called when the spell ends.Spell#stop()
stops the spell.Spell#interrupt()
interrupts the spell, indicates that the spell didn't choose to stop, but is forced by death e.g.Spell#getDuration()
returns the amount of ticks a spell can survive before being stopped.Spell#tick()
is a tick method, do I need to explain what this is for?
Now Git
- Dev by @Dev0Louis in https://github.com/Dev0Louis/Nebula/pull/29
- Nebula V5 by @Dev0Louis in https://github.com/Dev0Louis/Nebula/pull/30
- Update README.md by @Dev0Louis in https://github.com/Dev0Louis/Nebula/pull/31
- Beta 2 V5 by @Dev0Louis in https://github.com/Dev0Louis/Nebula/pull/32
- Nebula V5 by @Dev0Louis in https://github.com/Dev0Louis/Nebula/pull/33
Full Changelog: https://github.com/Dev0Louis/Nebula/compare/4.0.3...5.0.0