parent
f4e4d78758
commit
2b8d7519cc
@ -1,3 +1,5 @@
|
|||||||
global using System;
|
global using System;
|
||||||
|
global using System.Collections;
|
||||||
|
global using System.Collections.Generic;
|
||||||
global using System.Linq;
|
global using System.Linq;
|
||||||
global using Godot;
|
global using Godot;
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
using System.Collections.Generic;
|
|
||||||
|
|
||||||
namespace CMSGame
|
namespace CMSGame
|
||||||
{
|
{
|
||||||
public abstract class Action
|
public abstract class Action
|
@ -0,0 +1,7 @@
|
|||||||
|
namespace CMSGame
|
||||||
|
{
|
||||||
|
public class Plan
|
||||||
|
{
|
||||||
|
public readonly List<Action> Actions = new();
|
||||||
|
}
|
||||||
|
}
|
@ -1,10 +1,8 @@
|
|||||||
using System.Collections.Generic;
|
|
||||||
|
|
||||||
namespace CMSGame
|
namespace CMSGame
|
||||||
{
|
{
|
||||||
public class BattleCharacter
|
public class BattleCharacter
|
||||||
{
|
{
|
||||||
public List<BattleGoal> Goals = new();
|
public List<Goal<BattleContext>> Goals = new();
|
||||||
|
|
||||||
public Character Character;
|
public Character Character;
|
||||||
|
|
@ -0,0 +1,10 @@
|
|||||||
|
namespace CMSGame
|
||||||
|
{
|
||||||
|
public class BattleContext : IGoalContext
|
||||||
|
{
|
||||||
|
public IList<Action> ListActions()
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in new issue