Esempio n. 1
0
        protected override void OnEvaluating(ExpressionInfo expression, IMatchPlayerView player, IMatchUnitAssetView unit, ITaskEngine taskEngine, Action <object> callback)
        {
            CmdResultCode can = unit.DataController.CanGrowImmediate();

            callback(can);
        }
Esempio n. 2
0
        protected override void OnEvaluating(ExpressionInfo expression, IMatchPlayerView player, IMatchUnitAssetView unit, ITaskEngine taskEngine, Action <object> callback)
        {
            VoxelDataState state = unit.DataController.GetVoxelDataState();

            callback(state);
        }
Esempio n. 3
0
 protected override void OnEvaluating(ExpressionInfo expression, IMatchPlayerView player, IMatchUnitAssetView unit, ITaskEngine taskEngine, Action <object> callback)
 {
     callback(unit != null);
 }
Esempio n. 4
0
 protected override void OnEvaluating(ExpressionInfo expression, IMatchPlayerView player, IMatchUnitAssetView unit, ITaskEngine taskEngine, Action <object> callback)
 {
     callback(unit.DataController.Coordinate);
 }
Esempio n. 5
0
 protected abstract void OnEvaluating(ExpressionInfo expression, IMatchPlayerView player, IMatchUnitAssetView unit, ITaskEngine taskEngine, Action <object> callback);