Boss Room 是一款使用 Unity MLAPI 制作的全功能合作多人 RPG。 它旨在作为学习样本,展示类似游戏中经常出现的某些典型游戏模式。
您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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; }
}
}