public override bool IsTransferable(IObtacle c) { OuterShilding c2 = c as OuterShilding; if (c2 != null) { cache.Cached(c, new OuterShildingV1_0(c2.X, c2.Y)); return(true); } return(false); }
public override bool IsTransferable(IObtacle c) { var c2 = c as Wall; if (c2 != null) { cache.Cached(c, new WallV1_0(c2.X, c2.Y)); return(true); } return(false); }