Game Development Reference
In-Depth Information
Blackboard member functions
With the basic functionality of the blackboard flushed out, we can modify the class in order
to add the accessor functions:
Blackboard.lua :
function Blackboard.new(userData)
...
-- object functions
blackboard.AddSource = Blackboard.AddSource;
blackboard.Get = Blackboard.Get;
blackboard.RemoveSource = Blackboard.RemoveSource;
blackboard.Set = Blackboard.Set;
return blackboard;
end
Search WWH ::




Custom Search