rev 19558 (Sloth)
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
3 posts
• Page 1 of 1
rev 19558 (Sloth)
by Max mtg » 12 Feb 2013, 19:43
Sloth, I intend to minimize global references and use of singletons.getSomething to the least possible.
By commiting 19558 you've just reintroduced that dependence from an evil global variable.
According to comment to this revision, you were fixing an NPE. Would you describe the method to reproduce that problem, so that I have a chance to apply a diffrent fix?
By commiting 19558 you've just reintroduced that dependence from an evil global variable.
According to comment to this revision, you were fixing an NPE. Would you describe the method to reproduce that problem, so that I have a chance to apply a diffrent fix?
Single class for single responsibility.
- Max mtg
- Programmer
- Posts: 1997
- Joined: 02 Jul 2011, 14:26
- Has thanked: 173 times
- Been thanked: 334 times
Re: rev 19558 (Sloth)
by Sloth » 13 Feb 2013, 13:54
Try to cast a Morph or hardcoded card.Max mtg wrote:Would you describe the method to reproduce that problem, so that I have a chance to apply a diffrent fix?
-
Sloth - Programmer
- Posts: 3498
- Joined: 23 Jun 2009, 19:40
- Has thanked: 125 times
- Been thanked: 507 times
Re: rev 19558 (Sloth)
by Max mtg » 14 Feb 2013, 06:52
Thanks, I've set up the correct field initialization order.
Single class for single responsibility.
- Max mtg
- Programmer
- Posts: 1997
- Joined: 02 Jul 2011, 14:26
- Has thanked: 173 times
- Been thanked: 334 times
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 36 guests