예제 #1
0
        /// <summary>
        /// Overridden function to create the shape instance
        /// </summary>
        /// <returns></returns>
        public override ShapeBase CreateShapeInstance()
        {
            CameraPositionShape shape = new CameraPositionShape("CameraPosition");

            shape.Position = EditorManager.Scene.CurrentShapeSpawnPosition;
            return(shape);
        }
예제 #2
0
        /// <summary>
        /// Overridden clone function
        /// </summary>
        /// <returns></returns>
        public override ShapeBase Clone()
        {
            CameraPositionShape copy = (CameraPositionShape)base.Clone();

            copy._shortCut = null;
            copy._key      = Keys.None;
            return(copy);
        }
 /// <summary>
 /// Overridden function to create the shape instance
 /// </summary>
 /// <returns></returns>
 public override ShapeBase CreateShapeInstance()
 {
     CameraPositionShape shape = new CameraPositionShape("CameraPosition");
       shape.Position = EditorManager.Scene.CurrentShapeSpawnPosition;
       return shape;
 }
 public CameraPositionShortCut(CameraPositionShape shape)
     : base(Keys.None)
 {
     iUniqueAdvance++;
     _shape = shape;
 }
예제 #5
0
 public CameraPositionShortCut(CameraPositionShape shape)
     : base(Keys.None)
 {
     iUniqueAdvance++;
     _shape = shape;
 }