<commit_before>#include "InputController.as"

//Level Status
const int LSTATUS_NORMAL = 0;
const int LSTATUS_QUIT = 1;
const int LSTATUS_SUSPEND = 2;


//Level Manager Events
const int EVT_UPDATE = 1;
const int EVT_KEYDOWN = 2;
const int EVT_MOUSECLICK = 3;
const int EVT_MOUSEMOVE = 4;
const int EVT_SOUNDFINISH = 5;
const int EVT_JOYSTICK_BUTTONDOWN = 6;
const int EVT_JOYSTICK_BUTTONUP = 7;
const int EVT_JOYSTICK_HATMOVE = 8;

	
//Bullet Physics Mask
const int BULLET_COLLISION_LAYER = 1;
const int PLAYER_COLLISION_LAYER = 2;
const int DRONE_COLLISION_LAYER = 3;
const int FLOOR_COLLISION_LAYER = 5;
const int SCORE_ADDITION_RATE = 1;

enum LevelState
{
	LS_INGAME = 101,
	LS_OUTGAME,
	LS_PAUSED
}


//===NOTE
//Add support for Game Controller

abstract class LevelManager : ScriptObject
{
	protected bool isInitialised = false;
	protected bool isActivated = false;
	protected SoundSource@ backgroundMusicSource_;
	
		
	bool initialised
	{
		get const
		{
			return isInitialised;
		}
	}
	
	
	bool activated
	{
		get const<commit_msg>Game controller already implemented<commit_after>#include "InputController.as"

//Level Status
const int LSTATUS_NORMAL = 0;
const int LSTATUS_QUIT = 1;
const int LSTATUS_SUSPEND = 2;


//Level Manager Events
const int EVT_UPDATE = 1;
const int EVT_KEYDOWN = 2;
const int EVT_MOUSECLICK = 3;
const int EVT_MOUSEMOVE = 4;
const int EVT_SOUNDFINISH = 5;
const int EVT_JOYSTICK_BUTTONDOWN = 6;
const int EVT_JOYSTICK_BUTTONUP = 7;
const int EVT_JOYSTICK_HATMOVE = 8;

	
//Bullet Physics Mask
const int BULLET_COLLISION_LAYER = 1;
const int PLAYER_COLLISION_LAYER = 2;
const int DRONE_COLLISION_LAYER = 3;
const int FLOOR_COLLISION_LAYER = 5;
const int SCORE_ADDITION_RATE = 1;

enum LevelState
{
	LS_INGAME = 101,
	LS_OUTGAME,
	LS_PAUSED
}


abstract class LevelManager : ScriptObject
{
	protected bool isInitialised = false;
	protected bool isActivated = false;
	protected SoundSource@ backgroundMusicSource_;
	
		
	bool initialised
	{
		get const
		{
			return isInitialised;
		}
	}
	
	
	bool activated
	{
		get const
{'fraction_non_alphanumeric': 0.06569343065693431, 'fraction_numerical': 0.018491484184914843, 'mean_word_length': 4.512064343163539, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '5992206', 'n_tokens_mistral': 831, 'n_tokens_neox': 757, 'n_words': 218}