mirror of
https://github.com/FriendshipIsEpic/FiE-Game.git
synced 2024-11-22 22:07:59 +01:00
30 lines
597 B
C#
30 lines
597 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Fie.Object
|
|
{
|
|
public interface FieStateMachineInterface
|
|
{
|
|
event StateChangeDelegate stateChangeEvent;
|
|
|
|
void initialize(FieGameCharacter gameCharacter);
|
|
|
|
void terminate(FieGameCharacter gameCharacter);
|
|
|
|
void terminateAndCallStateChangeEvent(FieGameCharacter gameCharacter, Type fromState, Type toState);
|
|
|
|
void updateState<T>(ref T gameCharacter) where T : FieGameCharacter;
|
|
|
|
bool isFinished();
|
|
|
|
bool isEnd();
|
|
|
|
Type getNextState();
|
|
|
|
List<Type> getAllowedStateList();
|
|
|
|
float getDelay();
|
|
|
|
bool isNotNetworkSync();
|
|
}
|
|
}
|