It is currently 18 Sep 2019, 14:02
   
Text Size

Magarena Refactor impact on Groovy

Moderators: melvin, beholder, ubeefx, ShawnieBoy, Lodici, CCGHQ Admins

Magarena Refactor impact on Groovy

Postby 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.
User avatar
ShawnieBoy
Programmer
 
Posts: 601
Joined: 02 Apr 2012, 22:42
Location: UK
Has thanked: 80 times
Been thanked: 50 times

Return to Development

Who is online

Users browsing this forum: No registered users and 1 guest


Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 10 minutes)
Most users ever online was 287 on 31 Mar 2019, 04:11

Users browsing this forum: No registered users and 1 guest

Login Form