public bool Begin(Player player, DrawOperation op) { if (player == null) { throw new ArgumentNullException("player"); } if (op == null) { throw new ArgumentNullException("op"); } op.Context |= BlockChangeContext.Replaced; return(ReplacementInstance.Begin(player, op)); }
public Block NextBlock([NotNull] DrawOperation op) { if (op == null) { throw new ArgumentNullException("op"); } Block block = op.Map.GetBlock(op.Coords); if (block == Block) { return(ReplacementInstance.NextBlock(op)); } return(Block.Undefined); }
public void End() { ReplacementInstance.End(); }