Ejemplo n.º 1
0
        public void Move(Vector newPosition)
        {
            if (this.AttachedItem == null)
            {
                this.Position = newPosition;
                Operations.MoveInterestArea(this.game, this.cameraId, newPosition);
                return;
            }

            throw new InvalidOperationException("cannot move attached interest area manually");
        }