Ejemplo n.º 1
0
 public void SetStrategy(movementStrategy _strategy)
 {
     m_currentStrategy = _strategy;
 }
Ejemplo n.º 2
0
 public void SetChaceMode()
 {
     m_currentStrategy = m_chaseStrategy;
 }
Ejemplo n.º 3
0
 public void SetScatterMode()
 {
     m_currentStrategy = m_scatterStrategy;
 }
Ejemplo n.º 4
0
 // Use this for initialization
 void Start()
 {
     m_currentStrategy = m_chaseStrategy;
 }