public void LinkTwoObjects(StaticObject current, StaticObject Next) { current.Next = Next; }
public Wagon(StaticObject current) { this.Symbol = 'W'; this.CurrentPlace = (StaticObject)current; this.CanMove = true; }