mirror of
https://github.com/FriendshipIsEpic/FiE-Game.git
synced 2024-11-26 07:18:00 +01:00
44 lines
1 KiB
C#
44 lines
1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Fie.Object
|
|
{
|
|
public abstract class FieStateMachineAnyConsider : FieStateMachineInterface
|
|
{
|
|
event StateChangeDelegate FieStateMachineInterface.stateChangeEvent
|
|
{
|
|
add
|
|
{
|
|
stateChangeEvent += value;
|
|
}
|
|
remove
|
|
{
|
|
stateChangeEvent -= value;
|
|
}
|
|
}
|
|
|
|
private event StateChangeDelegate stateChangeEvent;
|
|
|
|
public abstract void terminateAndCallStateChangeEvent(FieGameCharacter gameCharacter, Type fromState, Type toState);
|
|
|
|
public abstract void updateState<T>(ref T gameCharacter) where T : FieGameCharacter;
|
|
|
|
public abstract void initialize(FieGameCharacter gameCharacter);
|
|
|
|
public abstract void terminate(FieGameCharacter gameCharacter);
|
|
|
|
public abstract bool isEnd();
|
|
|
|
public abstract bool isFinished();
|
|
|
|
public abstract float getDelay();
|
|
|
|
public abstract bool isNotNetworkSync();
|
|
|
|
public abstract Type getNextState();
|
|
|
|
public abstract List<Type> getIgnoreStateList();
|
|
|
|
public abstract List<Type> getAllowedStateList();
|
|
}
|
|
}
|