It is currently 24 Apr 2024, 19:27
   
Text Size

Phase is broken

Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins

Phase is broken

Postby mtgrares » 22 Oct 2008, 17:46

All the phases are controlled by the Phase object. Usually the method nextPhase() is called which advances to the next phase. Phase object is pretty messy and I'm not sure how to fix it in the current version of MTG Forge. InputControl is very messy and it selects the correct Input object that handles the mouse input according to what phase it is. I think if more phases were added to the Phase object that InputControl would have to be updated also.

The reason the code is so messy was to just get something working.
mtgrares
DEVELOPER
 
Posts: 1352
Joined: 08 Sep 2008, 22:10
Has thanked: 3 times
Been thanked: 12 times

Return to Forge

Who is online

Users browsing this forum: No registered users and 91 guests


Who is online

In total there are 91 users online :: 0 registered, 0 hidden and 91 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 91 guests

Login Form