Example #1
0
 static public int get_BlackBoardDatas(IntPtr l)
 {
     try {
         GameFramework.BlackBoard self = (GameFramework.BlackBoard)checkSelf(l);
         pushValue(l, true);
         pushValue(l, self.BlackBoardDatas);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Example #2
0
 static public int Reset(IntPtr l)
 {
     try {
         GameFramework.BlackBoard self = (GameFramework.BlackBoard)checkSelf(l);
         self.Reset();
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Example #3
0
 static public int constructor(IntPtr l)
 {
     try {
         GameFramework.BlackBoard o;
         o = new GameFramework.BlackBoard();
         pushValue(l, true);
         pushValue(l, o);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Example #4
0
 static public int set_IsGameOver(IntPtr l)
 {
     try {
         GameFramework.BlackBoard self = (GameFramework.BlackBoard)checkSelf(l);
         bool v;
         checkType(l, 2, out v);
         self.IsGameOver = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Example #5
0
 static public int SetVariable(IntPtr l)
 {
     try {
         GameFramework.BlackBoard self = (GameFramework.BlackBoard)checkSelf(l);
         System.String            a1;
         checkType(l, 2, out a1);
         System.Object a2;
         checkType(l, 3, out a2);
         self.SetVariable(a1, a2);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }