public EntityMobile(byte type, byte x, byte y) { Type = type; Position = new Delta3 <Position>(new Position()); Direction = new Delta3 <Direction>(0); Flags = BehaviorFlags.NONE; Timer = new TickTimer(); }
public EntityMobile(EntityStatic tile, byte x, byte y) : this(tile.Type, x, y) { Direction = new Delta3 <Presto.Direction>(tile.Direction); Flags = tile.Flags; }