-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
73 changed files
with
2,687 additions
and
2,687 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
using LibAoe2AISharp.Specifications; | ||
using static LibAoe2AISharp.Framework.AgeStateCollection; | ||
|
||
namespace LibAoe2AISharp.Framework | ||
{ | ||
/// <summary> | ||
/// Basic control after reserching the age. | ||
/// </summary> | ||
public abstract class EnterAge : defrule | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the <see cref="EnterAge"/> class. | ||
/// </summary> | ||
protected EnterAge() | ||
{ | ||
Actions.Add( | ||
new set_goal(AgeState, Transitioned), | ||
new disable_self()); | ||
} | ||
} | ||
using LibAoe2AISharp.Specifications; | ||
using static LibAoe2AISharp.Framework.AgeStateCollection; | ||
|
||
namespace LibAoe2AISharp.Framework | ||
{ | ||
/// <summary> | ||
/// Basic control after reserching the age. | ||
/// </summary> | ||
public abstract class EnterAge : defrule | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the <see cref="EnterAge"/> class. | ||
/// </summary> | ||
protected EnterAge() | ||
{ | ||
Actions.Add( | ||
new set_goal(AgeState, Transitioned), | ||
new disable_self()); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,42 @@ | ||
namespace LibAoe2AISharp.Framework | ||
{ | ||
/// <summary> | ||
/// research state. | ||
/// </summary> | ||
public enum ResearchState | ||
{ | ||
/// <summary> | ||
/// Research finished. | ||
/// </summary> | ||
Finished, | ||
|
||
/// <summary> | ||
/// Researching. | ||
/// </summary> | ||
Researching, | ||
|
||
/// <summary> | ||
/// Not researching now. | ||
/// </summary> | ||
NotResearching, | ||
} | ||
|
||
/// <summary> | ||
/// valid wall perimeter. | ||
/// <para> | ||
/// 1 is closer to the Town Center than 2. | ||
/// </para> | ||
/// </summary> | ||
public enum Perimeter | ||
{ | ||
/// <summary> | ||
/// Perimeter 1 is usually between 10 and 20 tiles from the starting Town Center. | ||
/// </summary> | ||
Near = 1, | ||
|
||
/// <summary> | ||
/// Perimeter 2 is usually between 18 and 30 tiles from the starting Town Center. | ||
/// </summary> | ||
Far = 2, | ||
} | ||
namespace LibAoe2AISharp.Framework | ||
{ | ||
/// <summary> | ||
/// research state. | ||
/// </summary> | ||
public enum ResearchState | ||
{ | ||
/// <summary> | ||
/// Research finished. | ||
/// </summary> | ||
Finished, | ||
|
||
/// <summary> | ||
/// Researching. | ||
/// </summary> | ||
Researching, | ||
|
||
/// <summary> | ||
/// Not researching now. | ||
/// </summary> | ||
NotResearching, | ||
} | ||
|
||
/// <summary> | ||
/// valid wall perimeter. | ||
/// <para> | ||
/// 1 is closer to the Town Center than 2. | ||
/// </para> | ||
/// </summary> | ||
public enum Perimeter | ||
{ | ||
/// <summary> | ||
/// Perimeter 1 is usually between 10 and 20 tiles from the starting Town Center. | ||
/// </summary> | ||
Near = 1, | ||
|
||
/// <summary> | ||
/// Perimeter 2 is usually between 18 and 30 tiles from the starting Town Center. | ||
/// </summary> | ||
Far = 2, | ||
} | ||
} |
Oops, something went wrong.