Newer
Older
CactusServer / src / main / java / cactusServer / entities / EmoteState.java
package cactusServer.entities;

/**
 * エモートの情報を表すクラス<br>
 * 内部にエモートの種類を表す列挙型も定義
 * @author r-isitani
 *
 */
public class EmoteState {
	private EmoteType emoteType;

	public EmoteState(EmoteType emoteType) {
		this.emoteType = emoteType;
	}
	
	public EmoteType getEmoteType() {
		return emoteType;
	}

	public void setEmoteType(EmoteType emoteType) {
		if (!this.emoteType.equals(emoteType)) {
			this.emoteType = emoteType;
			// この下でエモートの種類を変更したことによる必要処理を呼び出す
		}
	}
	
	public static enum EmoteType {
		// 開始するエモートの種類の列挙
	}
}