Changeset c3ad11c in advance-wars for src/com/medievaltech/advancewars/Map.java


Ignore:
Timestamp:
Aug 26, 2011, 9:54:05 PM (14 years ago)
Author:
dportnoy <devnull@…>
Branches:
master
Children:
511177b
Parents:
99433bb
Message:

Units are now colored based on the player that controls them. The controlling player is specified in the unit's constructor.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/com/medievaltech/advancewars/Map.java

    r99433bb rc3ad11c  
    6262                                        Unit u = grid[x][y].currentUnit;
    6363                                        //p.println(u.type);
     64                                        //we also need to save the owner of the unit
    6465                                        p.println(u.location.x+","+u.location.y);
    6566                                }
Note: See TracChangeset for help on using the changeset viewer.