示例#1
0
 public OverheadOTAState(OverheadOTAState orig)
 {
     this.x = orig.x;
     y = orig.y;
     distance = orig.distance;
     anglefromhorizontaldegrees = orig.anglefromhorizontaldegrees;
 }
示例#2
0
 public OverheadOTAState(OverheadOTAState orig)
 {
     this.x   = orig.x;
     y        = orig.y;
     distance = orig.distance;
     anglefromhorizontaldegrees = orig.anglefromhorizontaldegrees;
 }
示例#3
0
 void CameraModeOverheadTAHandlerOrbit(string command, bool down)
 {
     if (!down)
     {
         CameraMoveDone();
     }
     else
     {
         CurrentMove = CameraMoveType.OverheadOTAOrbit;
         overheadotastate_dragstart = new OverheadOTAState(overheadotastate_current);
         dragstartmousestate        = mousemove.GetMouseStateVector(OverheadOTAOrbitConfigName);
     }
 }
示例#4
0
 void CameraModeOverheadTAHandlerOrbit(string command, bool down)
 {
     if (!down)
     {
         CameraMoveDone();
     }
     else
     {
         CurrentMove = CameraMoveType.OverheadOTAOrbit;
         overheadotastate_dragstart = new OverheadOTAState(overheadotastate_current);
         dragstartmousestate = mousemove.GetMouseStateVector(OverheadOTAOrbitConfigName);
     }
 }