76 lines
1.8 KiB
Java
76 lines
1.8 KiB
Java
package fr.evolving.automata;
|
|
|
|
import java.io.Serializable;
|
|
|
|
public class Level implements Serializable {
|
|
public String Name;
|
|
public String Description;
|
|
public String Element;
|
|
public int aWorld;
|
|
public int aLevel;
|
|
public int id;
|
|
public float X;
|
|
public float Y;
|
|
public int Tech;
|
|
public int Maxcycle;
|
|
public int Maxtemp;
|
|
public int Maxrayon;
|
|
public int Maxnrj;
|
|
public int Research;
|
|
public boolean Special;
|
|
public String Tuto;
|
|
public int[][] Link;
|
|
|
|
public int[] Victory_orig;
|
|
public int Cout_orig;
|
|
public Grid Grid_orig;
|
|
public int Cycle_orig;
|
|
public int Temp_orig;
|
|
public int Rayon_orig;
|
|
public int Nrj_orig;
|
|
|
|
public transient int[] Victory;
|
|
public transient int Cout_transmuter;
|
|
public transient int Cout_copperfiber;
|
|
public transient int Cout;
|
|
public transient Grid Grid;
|
|
public transient int Cycle;
|
|
public transient int Temp;
|
|
public transient int Rayon;
|
|
public transient int Nrj;
|
|
|
|
public transient boolean Locked;
|
|
|
|
public Level(int aWorld, int aLevel, int id, String Name,
|
|
String Description, String Element, int[] Current, int[] Victory,
|
|
float X, float Y, int Tech, int Cout, Grid World, int Cycle,
|
|
int Temp, int Rayon, int Nrj, int Maxcycle, int Maxtemp,
|
|
int Maxrayon, int Maxnrj, String Tuto, boolean Special, int[][] Link) {
|
|
this.aWorld = aWorld;
|
|
this.aLevel = aLevel;
|
|
this.id = id;
|
|
this.Name = Name;
|
|
this.Description = Description;
|
|
this.Element = Element;
|
|
this.Victory = Current;
|
|
this.Victory_orig = Victory;
|
|
this.X = X;
|
|
this.Y = Y;
|
|
this.Tech = Tech;
|
|
this.Cout_orig = Cout;
|
|
this.Grid = World;
|
|
this.Grid_orig = World;
|
|
this.Cycle = Cycle;
|
|
this.Temp = Temp;
|
|
this.Rayon = Rayon;
|
|
this.Nrj = Nrj;
|
|
this.Maxcycle = Maxcycle;
|
|
this.Maxtemp = Maxtemp;
|
|
this.Maxrayon = Maxrayon;
|
|
this.Maxnrj = Maxnrj;
|
|
this.Special = Special;
|
|
this.Tuto = Tuto;
|
|
this.Link = Link;
|
|
}
|
|
}
|