public static function start($plane) { self::$plane = $plane; $time = 0; system("stty -icanon"); while (true) { self::listen(); $plane->step(0.2); $time += 0.2; self::draw($time); usleep(200000); } }