public new object Clone() { ActivatableTile activatableTile = new ActivatableTile("clone - " + ID, ActorType, StatusType, Transform3D.Clone() as Transform3D, EffectParameters.Clone() as OurEffectParameters, Model, IsBlocking, TileType); if (ControllerList != null) { foreach (IController controller in ControllerList) { activatableTile.ControllerList.Add(controller.Clone() as IController); } } return(activatableTile); }
private bool Equals(ActivatableTile other) { return(base.Equals(other) && isActivated == other.isActivated); }