// Path: components/src/net/mostlyoriginal/game/component/G.java
// public static final int GRADIENT_SCALE = 5;
// 
// Path: components/src/net/mostlyoriginal/game/component/G.java
// public static final int SIMULATION_HEIGHT = 220 + 50;
// 
// Path: components/src/net/mostlyoriginal/game/component/G.java
// public static final int SIMULATION_WIDTH = 220 + 50;


import com.artemis.Component;
import static net.mostlyoriginal.game.component.G.GRADIENT_SCALE;
import static net.mostlyoriginal.game.component.G.SIMULATION_HEIGHT;
import static net.mostlyoriginal.game.component.G.SIMULATION_WIDTH;
package net.mostlyoriginal.game.component;



/**
 * @author Daan van Yperen
 */
public class Planet extends Component {


    public Planet() {
    }

    public PlanetCell[][] grid = new PlanetCell[SIMULATION_HEIGHT][SIMULATION_WIDTH];
    public int[][] dirtColor = new int[SIMULATION_HEIGHT][SIMULATION_WIDTH];
    public StatusMask[][] mask = new StatusMask[SIMULATION_HEIGHT/ GRADIENT_SCALE][SIMULATION_WIDTH / GRADIENT_SCALE];
    public StatusMask[][] tempMask = new StatusMask[SIMULATION_HEIGHT/ GRADIENT_SCALE][SIMULATION_WIDTH / GRADIENT_SCALE];
    public PlanetData data;
    public int lavaPressure = 0;
    public int waterPressure=0;
    public float cooldown = 0;

// Path: components/src/net/mostlyoriginal/game/component/G.java
// public static final int GRADIENT_SCALE = 5;
// 
// Path: components/src/net/mostlyoriginal/game/component/G.java
// public static final int SIMULATION_HEIGHT = 220 + 50;
// 
// Path: components/src/net/mostlyoriginal/game/component/G.java
// public static final int SIMULATION_WIDTH = 220 + 50;


// Path: components/src/net/mostlyoriginal/game/component/Planet.java
import com.artemis.Component;
import static net.mostlyoriginal.game.component.G.GRADIENT_SCALE;
import static net.mostlyoriginal.game.component.G.SIMULATION_HEIGHT;
import static net.mostlyoriginal.game.component.G.SIMULATION_WIDTH;

package net.mostlyoriginal.game.component;



/**
 * @author Daan van Yperen
 */
public class Planet extends Component {


    public Planet() {
    }

    public PlanetCell[][] grid = new PlanetCell[SIMULATION_HEIGHT][SIMULATION_WIDTH];
    public int[][] dirtColor = new int[SIMULATION_HEIGHT][SIMULATION_WIDTH];
    public StatusMask[][] mask = new StatusMask[SIMULATION_HEIGHT/ GRADIENT_SCALE][SIMULATION_WIDTH / GRADIENT_SCALE];
    public StatusMask[][] tempMask = new StatusMask[SIMULATION_HEIGHT/ GRADIENT_SCALE][SIMULATION_WIDTH / GRADIENT_SCALE];
    public PlanetData data;
    public int lavaPressure = 0;
    public int waterPressure=0;
    public float cooldown = 0;

    public int cellColor[] = new int[PlanetCell.CellType.values().length];