Exemplo n.º 1
0
 public void stopPlaying(Player player)
 {
     if (is_playing_)
     {
         is_playing_ = false;
         if (player != null)
         {
             player.setReplay(null);
         }
     }
 }
Exemplo n.º 2
0
 public void startPlaying(double update_time, Player player)
 {
     frame_index_  = 0;
     start_time_   = update_time;
     is_recording_ = false;
     is_playing_   = true;
     if (player != null)
     {
         player.setReplay(this);
     }
 }