Esempio n. 1
0
        public override object Clone()
        {
            Vector2 position = new Vector2(Position.X, Position.Y);
            Rectangle collisionRect = new Rectangle(CollisionRect.X, CollisionRect.Y, CollisionRect.Width, CollisionRect.Height);
            InteractiveLevelObject clone = new InteractiveLevelObject(StatesNumber, CurrentState, IsCollided, position, TexturePath, IsVisible, collisionRect);

            return clone;
        }
 public void ChangeModel(InteractiveLevelObject iObj)
 {
     base.ChangeModel(iObj);
 }
 public InteractiveLevelObjectView(InteractiveLevelObject iObj)
     : base(iObj)
 {
 }