PlatformT::PlatformT { isInMotion = false; state = 0 location= StartLocation }
SetState
function
PlatformT::SetState{ if Location == startLocation { state = 0 } else { state = 1 } }
PlatformT::StartMotion { if (not isInMotion) { // make sure the current state is accurate SetState() isInMotion = true; // more to be added. StartTimeline } }