Reddo 5 jaren geleden
bovenliggende
commit
eefde051c2
2 gewijzigde bestanden met toevoegingen van 4 en 4 verwijderingen
  1. 2 2
      app/World/Classes/Action/ActionDropDown.ts
  2. 2 2
      app/World/Classes/Action/ActionStand.ts

+ 2 - 2
app/World/Classes/Action/ActionDropDown.ts

@@ -16,14 +16,14 @@ class ActionDropDown extends Action {
         return "stand up"
     }
 
-    public checkStand = ActionDropDown.check.createAndAddRule({
+    public static checkStand = ActionDropDown.check.createAndAddRule({
         name : "Stand - Can get down?",
         code : (rulebook) => {
             // TODO: Check if being held up
         }
     });
 
-    public carryStand = ActionDropDown.carry.createAndAddRule({
+    public static carryStand = ActionDropDown.carry.createAndAddRule({
         name : "Stand - Rise up!",
         code : (runner : RulebookRunner<ActionDropDown>) => {
             let actor = runner.noun.actor;

+ 2 - 2
app/World/Classes/Action/ActionStand.ts

@@ -16,7 +16,7 @@ class ActionStand extends Action {
         return "stand up"
     }
 
-    public checkStand = ActionStand.check.createAndAddRule({
+    public   static checkStand = ActionStand.check.createAndAddRule({
         name : "Stand - Can stand?",
         code : (rulebook) => {
             // TODO: Check if being held down
@@ -24,7 +24,7 @@ class ActionStand extends Action {
         }
     });
 
-    public carryStand = ActionStand.carry.createAndAddRule({
+    public  static carryStand = ActionStand.carry.createAndAddRule({
         name : "Stand - Rise up!",
         code : (runner : RulebookRunner<ActionStand>) => {
             let actor = runner.noun.actor;