The direction that the controllable char is casting thie psynergy.
The main char that it casting the psynergy.
The controllable char that's casting this psynergy.
The GoldenSun object.
The Phaser.Game object.
Resets the map to default colors.
Resets the map to default colors.
If called, the casting aura is destroyed.
If called, the casting aura is destroyed.
The target object of this psynergy. Might not be necessary depending on the psynergy.
Casts this psynergy.
the controllable char that's casting this psynergy.
the main char key name that's casting this psyerngy.
Closes the field psynergy window that shows its name.
Generic funcion that can be overriden. When calling this, the psynergy effect should be finished.
for the psynergy to finish.
stops the char current animation.
the callback method to be called on psynergy end finish.
Returns the hero from cast animation to idle animation.
returns a promise for animation end.
Sets the bootstrap method that will be called once psynergy cast is initialized. Each psynergy will have its own bootstrap function.
the bootstrap method.
Pass a method to be called on psynergy cast end when the casting aura starts to be destructed.
the method to be called.
Adds an extra check for this psynergy to be casted. The given function is tested on this psynergy cast initialization. If the given function call returns false, this psynergy won't be casted.
the method to be tested.
Abstract method. This function is called on game main update funcion.
Colorizes the map for psynergy casting.
the Phaser.Game object.
the current map.
some options.
the color to colorize the map. In the RGB spectre, values between 0 and 1. Default is random.
the colorize intensity.
if true, it will keep changing colorization color over time.
after the map gets colorized callback.
after colorize filter destruction callback.
returns a function that if called, it will return the map colors to normal.
Initializes a casting aura around the caster.
the Phase.Game object.
the GoldenSun object.
the caster controllable char.
after the aura is initialized callback.
after the aura is completely destroyed callback.
on aura destruction init callback.
returns a function that when called, will stop the casting aura.
Generated using TypeDoc
FieldAbilities Ctor.