using System; using STVrogue.GameLogic; namespace STVrogue.TestInfrastructure { public class ExampleTemporalSpecification { /// /// The player's hit point is never negative. /// static public TemporalProperty example1 = new Always(G=>G.Player.Hp >= 0); /// /// The player's kill point is never negative. /// static public TemporalProperty example2 = new Always(G=>G.Player.Kp >= 0); /// /// The player's kill point never decreases. /// static public TemporalProperty example3 = new Always(G =>G.Player.Kp, (before,now) => before >= now) ; } }