//game int SCREEN_WIDTH = 500; int SCREEN_HEIGHT = 500; int SCREEN_HALF_WIDTH = SCREEN_WIDTH / 2; int SCREEN_HALF_HEIGHT = SCREEN_HEIGHT / 2; //black int NUM_BLACK = 400; Black [] BLACK; float BLACK_MIN_SIZE = 10.f; float BLACK_MAX_SIZE = 100.f; float BLACK_SPACING = 325.f; //color squares int NUM_COLORS = 100; int NUM_USED_COLORS = 50; Color [] COLORS; //colors color [] GAME_COLORS; color BACKGROUND_COLOR; //hud HeadsUpDisplay HUD; float GAME_TIMER_LENGTH = 300.f; //grid int SQUARES_PER_GRID_CELL = 15; Grid GRID; float AFFECT_BUFFER = 5.f; //input Input INPUT; //game int ADD_NEW_SQUARE_TIMER_RESET = 25; int ADD_NEW_SQUARE_TIMER = ADD_NEW_SQUARE_TIMER_RESET; boolean PAUSED = true; //helper functions int CapInt( int Num, int Low, int High ) { return( min( High, max(Low, Num) ) ); } float CapFloat( float Num, float Low, float High ) { return( min( High, max(Low, Num) ) ); }