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