Ignore:
Timestamp:
Oct 20, 2011, 3:25:50 PM (13 years ago)
Author:
dportnoy <devnull@…>
Branches:
master
Children:
bb2fa26
Parents:
331d180
Message:

Moved many widely used variables to the Static class.

File:
1 edited

Legend:

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

    r331d180 r4666fae  
    11package com.medievaltech.advancewars;
     2
     3import com.medievaltech.advancewars.Enum.*;
     4import com.medievaltech.advancewars.GameView.DrawingThread;
    25
    36public class Static {
    47        public static Map map;
     8       
     9        public static GameState gameState;
     10   
     11    public static Tile grassTile, oceanTile;
     12   
     13    public static Turn turn;
     14   
     15    public static Player human, enemy;
     16   
     17    public static DrawingThread thread;
     18   
     19    public static Game game;
     20   
     21    public static boolean run = false;
     22   
     23    public static com.medievaltech.gui.Window wndMainMenu;
    524}
Note: See TracChangeset for help on using the changeset viewer.