Magarena Refactor impact on Groovy
Moderators: ubeefx, beholder, melvin, ShawnieBoy, Lodici, CCGHQ Admins
Magarena Refactor impact on Groovy
by ShawnieBoy » 14 Apr 2015, 10:13
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.
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.
-
ShawnieBoy - Programmer
- Posts: 601
- Joined: 02 Apr 2012, 22:42
- Location: UK
- Has thanked: 80 times
- Been thanked: 50 times
1 post
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 13 guests