26 lines
656 B
C#
26 lines
656 B
C#
using System;
|
|
|
|
namespace Code.Generators
|
|
{
|
|
public class StateMachine : Attribute
|
|
{
|
|
public Type StateMachineContextType;
|
|
public Type StateMachineEnumType;
|
|
|
|
public StateMachine(Type stateMachineContextType, Type stateMachineEnumType)
|
|
{
|
|
StateMachineContextType = stateMachineContextType;
|
|
StateMachineEnumType = stateMachineEnumType;
|
|
}
|
|
}
|
|
|
|
public class State : Attribute
|
|
{
|
|
public Type StateMachineContextType;
|
|
public State (Type stateMachineContextType )
|
|
{
|
|
StateMachineContextType = stateMachineContextType;
|
|
}
|
|
}
|
|
|
|
} |