Game Development Reference
In-Depth Information
Constant evaluators
First, we'll need to create the two most basic evaluators; one that always returns true, and
another that always returns false. These evaluators come in handy as a means of enabling
or disabling actions during development:
SoldierEvaluators.lua :
function SoldierEvaluators_True(userData)
return true;
end
function SoldierEvaluators_False(userData)
return false;
end
Search WWH ::




Custom Search