<commit_before>﻿/************************************************************************/
/*
	CLASS			: DataType
	Author			: 남현욱
	역할				: enum 및 typedef 등 프로젝트 내에서 쓰이는
					  각종 고유 정의 타입들 보유
	최종 수정일자	: 2014-10-31
	최종 수정자		: 남현욱
	최종 수정사유	: cocos2d 헤더파일 추가
	Comment			: 이런 형식으로 앞으로 바꾸는 사람이 있으면 정리 하세요
*/
/************************************************************************/

#pragma once
#include <vector>
#include "cocos2d.h"

BEGIN_NS_AT

class Trigger;
class StateComponent;

enum DirectionBit
{
	DIR_NONE = 0,
	DIR_UP = 1,
	DIR_RIGHT =2,
	DIR_DOWN = 4,
	DIR_LEFT = 8,
	DIR_MAX = 16,
};

typedef char Direction;

enum ResourceType
{
	//Sprite Type
	ST_START = 0,
	ST_PLAYER = ST_START,
	ST_BLOCK = ST_START + 1,
	ST_END,

	//Animation Type
	AT_START = 500,
	AT_END,
};

enum ComponentType
{
	//Component Type
	CT_COMPONENT_START = 0,
	CT_OBSERVER,
	CT_PHYSICS,
	CT_ANIMATION,
	CT_SPRITE,
	CT_RENDER,
	CT_COMMAND,
	CT_FSM,
	CT_STATE,

		////Render Type
		RNDT_RENDER_START = 101,
		RNDT_RENDER_END,

		////Command Type
		CMDT_COMMAND_START = 201,
		CMDT_COMMAND_END,

		////FSM Type
		FSMT_FSM_START = 301,
		FSMT_FSM_END,

		////State Type
		STAT_STATE_START = 401,
		STAT_STATE_END,

		//Object Type
		OT_CHARACTER_START = 1001,
		OT_PLAYER = OT_CHARACTER_START,
		OT_CHARACTER_END,
	
		OT_TILE_START = 1101,
		OT_BLOCK = OT_TILE_START,
		OT_TILE_END,

	CT_COMPONENT_END,

};

enum TriggerType
{
	TT_NONE = 0,
	TT_STATE_CHANGE = 1,
	TT_CONTACT = 2,
	TT_KEYBOARD = 3,
	TT_NUM,
};

enum EffectType
{
	ET_PLAYER_MISSILE_MELEE,<commit_msg>DataType Change<commit_after>﻿/************************************************************************/
/*
	CLASS			: DataType
	Author			: 남현욱
	역할				: enum 및 typedef 등 프로젝트 내에서 쓰이는
					  각종 고유 정의 타입들 보유
	최종 수정일자	: 2014-10-31
	최종 수정자		: 남현욱
	최종 수정사유	: cocos2d 헤더파일 추가
	Comment			: 이런 형식으로 앞으로 바꾸는 사람이 있으면 정리 하세요
*/
/************************************************************************/

#pragma once
#include <vector>
#include "cocos2d.h"

BEGIN_NS_AT

class Trigger;
class StateComponent;

enum DirectionBit
{
	DIR_NONE = 0,
	DIR_UP = 1,
	DIR_RIGHT =2,
	DIR_DOWN = 4,
	DIR_LEFT = 8,
	DIR_MAX = 16,
};

typedef char Direction;

enum ResourceType
{
	//Sprite Type
	ST_START = 0,
	ST_PLAYER = ST_START,
	ST_BLOCK = ST_START + 1,
	ST_END,

	//Animation Type
	AT_START = 500,
	AT_END,
};

enum ComponentType
{
	//Component Type
	CT_COMPONENT_START = 0,
	CT_OBSERVER,
	CT_PHYSICS,
	CT_ANIMATION,
	CT_SPRITE,
	CT_RENDER,
	CT_COMMAND,
	CT_FSM,
	CT_STATE,

		////Render Type
		RNDT_START = 101,
		RNDT_END,

		////Command Type
		CMDT_START = 201,
		CMDT_END,

		////FSM Type
		FSMT_START = 301,
		FSMT_END,

		////State Type
		STAT_START = 401,
		STAT_IDLE = STAT_START,
		STAT_MOVE = STAT_START + 1,
		STAT_END,

		//Object Type
		OT_CHARACTER_START = 1001,
		OT_PLAYER = OT_CHARACTER_START,
		OT_CHARACTER_END,
	
		OT_TILE_START = 1101,
		OT_BLOCK = OT_TILE_START,
		OT_TILE_END,

	CT_COMPONENT_END,

};

enum TriggerType
{
	TT_NONE = 0,
	TT_STATE_CHANGE = 1,
	TT_CONTACT = 2,
	TT_KEYBOARD = 3,
	TT_NUM,
};

enum EffectType
{
	ET_PLAYER_MISSILE_MELEE,
{'fraction_non_alphanumeric': 0.1819650937297996, 'fraction_numerical': 0.03070458952811894, 'mean_word_length': 3.591988130563798, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '214357', 'n_tokens_mistral': 1618, 'n_tokens_neox': 1554, 'n_words': 293}