It is currently 16 Apr 2024, 23:06
   
Text Size

Magarena Refactor impact on Groovy

Moderators: ubeefx, beholder, melvin, 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 8 guests


Who is online

In total there are 8 users online :: 0 registered, 0 hidden and 8 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 8 guests

Login Form