Page 1 of 1

Magarena Refactor impact on Groovy

PostPosted: 14 Apr 2015, 10:13
by ShawnieBoy
There's an ongoing spring-clean in the Magarena engine that will have an impact on future Groovy submissions.

By the 1.61 release the 'Magic' prefix for most 'Magic<something>Action' actions will be removed. This will be continuing for future releases to remove the 'Magic' prefix from all classes.

The prefix itself is from the early days of Magarena, and is currently not required to distinguish. This should also help in reducing the length of reference names.

This will probably take a little bit of getting used to, but will certainly aid in the readability of Groovy files.

In 1.61 the only Actions with a Magic prefix will be:

MagicAction
MagicActionList
MagicCardAction
MagicCardOnStackAction
MagicItemOnStackAction
MagicPermanentAction
MagicPlayMod
MagicPlayerAction
MagicTargetAction

These will be refactored in future releases.

I'll keep this thread up to date as this progresses.