using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DWGame.Globals
{
///
/// Class containing all Engine-based Enums_Engine.
/// Enums are int32 by default.
/// We override enum "name" : byte for memory optimization
///
public static class Enums_Engine
{
///
/// Major Mode of Execution
///
public enum EngineState : byte
{
///
/// None
///
NONE_SELECTED,
///
/// Linear play
///
MENU_MODE,
///
/// Free Play mode
///
GAME_MODE
};
//=== Major Mode of Execution
///
/// Major Mode of Execution
///
public enum MenuState : byte
{
///
/// Loser! (Set by ELeMentalGame)
///
GAME_OVER,
// The rest of these should be modified only by the GameScreen
///
/// G2L enum to handle the post and survey, then exit
///
FINALIZE_G2LSTUFF,
// The rest of these should be modified only by the GameScreen
///
/// Bye bye
///
EXIT,
///
/// Wat up world :->
///
CREDITS,
///
/// WulfsPack + DarkWynter
///
CREDIT_SCREEN,
///
/// Title
///
TITLE_SCREEN,
/////
///// Game Setup
/////
GAME_SETUP,
///
/// Loading... Please Wait
///
LOAD_LEVEL,
///
/// First Instruction Screen
///
// INSTRUCT_2,
///
/// Instruction Screen
///
INSTRUCTION_SCREEN_LEVEL1,
///
/// Second Instruction Screen
///
INSTRUCTION_SCREEN_LEVEL2,
///
/// final game screen
///
FINALGAMESCREEN,
///
/// Pause
///
GAME_PAUSE
};
///
/// Minor Mode of Execution within EngineState.GAME_MODE
///
public enum GameType : byte
{
///
/// None
///
NONE_SELECTED,
///
/// Linear play
///
STORY_MODE,
///
/// Free Play mode
///
FREE_PLAY
};
///
/// Tells Menu System which direction was pressed.
///
public enum MenuDirection : byte
{
///
/// Up key was pressed
///
UP,
///
/// Down key was pressed
///
DOWN,
///
/// Left key was pressed
///
LEFT,
///
/// Right key was pressed
///
RIGHT,
///
/// Start key was pressed
///
START,
///
/// Back key was pressed
///
BACK
}
///
/// Menu System Elements
///
public enum MenuElementType : byte
{
///
/// Button
///
BUTTON,
///
/// Options
///
OPTION,
///
/// Values
///
VALUE,
///
/// Label
///
LABEL,
///
/// Image scroll
///
IMAGE_SCROLL,
///
/// Image
///
IMAGE_DISPLAY,
///
/// None
///
NONE
};
///
/// Type of Displays
///
public enum DisplayType : byte
{
///
/// Text
///
TEXT,
///
/// Value
///
VALUE,
///
/// Image
///
IMAGE,
///
/// Base
///
BASE
};
///
/// Different mouse control types
///
public enum ControlType : byte
{
///
/// Motion Type
///
Motion,
///
/// Right Button Type
///
RightButton,
///
/// Left Button Type
///
LeftButton,
///
/// Middle Button Type
///
MiddleButton,
///
/// Scroll Wheel Type
///
ScrollWheel
};
///
/// Types of Game Objects used in the game
///
public enum GameObjectTypes : byte
{
///
/// Level 1 object
///
ATTRIBUTE,
///
/// Level 3 object
///
OVERRIDE_METHOD,
///
/// Level 2 object
///
METHOD,
///
/// Lines
///
CONNECTOR,
///
/// Class boxes
///
CLASS
};
}
}