public Player(string name, Minecraft minecraft) { this.name = name; this.minecraft = minecraft; entityID = 0; this.position = new XYZ <double> (0, 0, 0); look = new Look <float> (0, 0); moving = new Timer(50); moving.Elapsed += delegate(object source, ElapsedEventArgs e) { this.nextMove(); }; moving.Start(); speed = 5; //per 1 second //endPosition = new XYZ<double> (0, 0, 0); }
public Mob() { position = new XYZ <int> (0, 0, 0); look = new Look <byte> (0, 0); }
public OtherPlayer() { position = new XYZ <int> (0, 0, 0); look = new Look <byte> (0, 0); armor = new Dictionary <int, Armor> (); }