<commit_before>/*******************************************************************************
 * This file is part of TERMINAL RECALL
 * Copyright (c) 2015 <NAME>
 * Part of the jTRFP.org project
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the GNU Public License v3.0
 * which accompanies this distribution, and is available at
 * http://www.gnu.org/licenses/gpl.html
 * 
 * Contributors:
 *     chuck - initial API and implementation
 ******************************************************************************/

package org.jtrfp.trcl.flow;

import java.io.FileNotFoundException;
import java.io.IOException;

import org.jtrfp.jtrfp.FileLoadException;
import org.jtrfp.trcl.flow.GameShell.GameShellConstructed;
import org.jtrfp.trcl.obj.Player;

public interface Game {
////PROPERTIES
   public static final String PAUSED         = "paused";
   public static final String CURRENT_MISSION= "currentMission";
   public static final String PLAYER         = "player";
   public static final String RUN_MODE       = "runMode";
   
   public interface GameRunMode extends GameShellConstructed{}
   public interface GameConstructingMode extends GameRunMode{}
   public interface GameConstructedMode  extends GameRunMode{}
   public interface GameDestructingMode  extends GameRunMode{}
   public interface GameDestructedMode   extends GameRunMode{}
    
    public void    boot() throws IllegalAccessException, FileNotFoundException, IOException, FileLoadException;
    public void    doGameplay() throws IllegalAccessException, FileNotFoundException, IOException, FileLoadException, CanceledException;
    public boolean isPaused();
    public Game    setPaused(boolean paused);
    public Mission getCurrentMission();
    public Player  getPlayer();
    public String  getPlayerName();
    public void    abort();<commit_msg>Add more run states.<commit_after>/*******************************************************************************
 * This file is part of TERMINAL RECALL
 * Copyright (c) 2015 <NAME>
 * Part of the jTRFP.org project
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the GNU Public License v3.0
 * which accompanies this distribution, and is available at
 * http://www.gnu.org/licenses/gpl.html
 * 
 * Contributors:
 *     chuck - initial API and implementation
 ******************************************************************************/

package org.jtrfp.trcl.flow;

import java.io.FileNotFoundException;
import java.io.IOException;

import org.jtrfp.jtrfp.FileLoadException;
import org.jtrfp.trcl.flow.GameShell.GameShellConstructed;
import org.jtrfp.trcl.obj.Player;

public interface Game {
////PROPERTIES
   public static final String PAUSED         = "paused";
   public static final String CURRENT_MISSION= "currentMission";
   public static final String PLAYER         = "player";
   public static final String RUN_MODE       = "runMode";
   
   public interface GameRunMode extends GameShellConstructed{}
   public interface GameConstructingMode extends GameRunMode{}
   public interface GameConstructedMode  extends GameRunMode{}
   public interface GameLoadedMode       extends GameConstructedMode{}
   public interface GameRunningMode      extends GameConstructedMode{}
   public interface GameDestructingMode  extends GameRunMode{}
   public interface GameDestructedMode   extends GameRunMode{}
    
    public void    boot() throws IllegalAccessException, FileNotFoundException, IOException, FileLoadException;
    public void    doGameplay() throws IllegalAccessException, FileNotFoundException, IOException, FileLoadException, CanceledException;
    public boolean isPaused();
    public Game    setPaused(boolean paused);
    public Mission getCurrentMission();
    public Player  getPlayer();
    public String  getPlayerName();
    public void    abort();
{'fraction_non_alphanumeric': 0.14227538813947568, 'fraction_numerical': 0.003054212267752609, 'mean_word_length': 4.630372492836676, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1074076', 'n_tokens_mistral': 980, 'n_tokens_neox': 951, 'n_words': 320}