NEEDSIM.Blackboard Class Reference

This is used to store some values, and make some methods available in a place where they can be edited without affecting the other classes. More...

Public Member Functions

bool HasArrivedAtSlot ()
 Depending on your game and your NavMesh you might have to change the conditions here. More...
 
bool slotToAgentDistanceSmall (Vector3 agentPosition)
 Whether the slot and the agent are as close as defined in the smallDistance value More...
 
bool AcceptSlot (Simulation.Slot slot)
 Do the necessary stept to follow up on accepting a slot. Set destination on nav mesh, and put agent into the correct state More...
 

Detailed Description

This is used to store some values, and make some methods available in a place where they can be edited without affecting the other classes.

Member Function Documentation

bool NEEDSIM.Blackboard.AcceptSlot ( Simulation.Slot  slot)

Do the necessary stept to follow up on accepting a slot. Set destination on nav mesh, and put agent into the correct state

Parameters
slot
Returns
bool NEEDSIM.Blackboard.HasArrivedAtSlot ( )

Depending on your game and your NavMesh you might have to change the conditions here.

Returns
Whether the NavMeshAgent has arrived at the slot.
bool NEEDSIM.Blackboard.slotToAgentDistanceSmall ( Vector3  agentPosition)

Whether the slot and the agent are as close as defined in the smallDistance value

Parameters
agentPosition
Returns
true if agent is closer than small distance to target

The documentation for this class was generated from the following file:
  • Blackboard.cs