您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
33 行
1.0 KiB
33 行
1.0 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
namespace BossRoom
|
|
{
|
|
/// <summary>
|
|
/// Interface that models a single state of the BossRoom game. See BossRoomStateManager for more information.
|
|
/// </summary>
|
|
interface IBossRoomState
|
|
{
|
|
/// <summary>
|
|
/// Called when this BossRoomState is transitioned to.
|
|
/// <param name="stateParams"/>optional dictionary of parameters to be used by the new gamestate. </param>
|
|
/// </summary>
|
|
void Initialize( BossRoomStateManager manager, Dictionary<string,System.Object> stateParams=null );
|
|
|
|
/// <summary>
|
|
/// Called once per Update by the BossRoomStateManager.
|
|
/// </summary>
|
|
void Update();
|
|
|
|
/// <summary>
|
|
/// Called when this BossRoomState ends.
|
|
/// </summary>
|
|
void Destroy();
|
|
|
|
/// <summary>
|
|
/// What BossRoomState this object represents.
|
|
/// </summary>
|
|
BossRoomState State { get; }
|
|
}
|
|
}
|