Beispiel #1
0
 public OverheadOTAState(OverheadOTAState orig)
 {
     this.x = orig.x;
     y = orig.y;
     distance = orig.distance;
     anglefromhorizontaldegrees = orig.anglefromhorizontaldegrees;
 }
Beispiel #2
0
 public OverheadOTAState(OverheadOTAState orig)
 {
     this.x   = orig.x;
     y        = orig.y;
     distance = orig.distance;
     anglefromhorizontaldegrees = orig.anglefromhorizontaldegrees;
 }
Beispiel #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);
     }
 }
Beispiel #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);
     }
 }