예제 #1
0
 private void Start()
 {
     attributes      = new Attributes(this);
     stateController = new StateController(this);
     inputController = new InputController(gameObject,
                                           this,
                                           gameObject.GetComponent <CharacterController>(),
                                           stateController,
                                           number);
     kickController = new KickController(this);
     plantedBombs   = 0;
     isTrapped      = false;
     plantBombType  = Bomb.Type.DEFAULT;
 }
예제 #2
0
 public void SetBombType(Bomb.Type bombType)
 {
     plantBombType = bombType;
 }