Exemplo n.º 1
0
 public void changeMovementType(Movement_Func m)
 {
     move = m;
 }
Exemplo n.º 2
0
 public void SetUpNewElements(Movement_Func m)
 {
     PlayerMoveController.changeMovementType(m);
 }
Exemplo n.º 3
0
 /// <summary>
 /// Takes in changes to level elements and control schemas and applies them.
 /// </summary>
 public void SetUpNewElements(ElementAdjustment e, Movement_Func m, LevelElementAdjustor l)
 {
     l.SetupLevel();
     e.AdjustElements(Maincamera);
     PlayerMoveController.changeMovementType(m);
 }
Exemplo n.º 4
0
 public void SetUpNewElements(ElementAdjustment e, Movement_Func m)
 {
     e.AdjustElements(Maincamera);
     PlayerMoveController.changeMovementType(m);
 }
Exemplo n.º 5
0
 private void Start()
 {
     e = LevelObject.GetComponent <ElementAdjustment>();
     m = LevelObject.GetComponent <Movement_Func>();
 }