Exemplo n.º 1
0
		public void SelecteChip(int num, MainMediator info)
		{
			attackChip = GameObject.Instantiate<Prototype_Menko>(chipBase);
			attackChip.gameObject.SetActive(false);
			attackChip.SetMaterial(SelectMaterial(num));
			info.menkoList.Add(attackChip);
		}
Exemplo n.º 2
0
 public void SelecteChip(int num, MainMediator info)
 {
     attackChip = GameObject.Instantiate <Prototype_Menko>(chipBase);
     attackChip.gameObject.SetActive(false);
     attackChip.SetMaterial(SelectMaterial(num));
     info.menkoList.Add(attackChip);
 }
Exemplo n.º 3
0
 public PlayerSelectChip(MainMediator gameMediator) : base(gameMediator)
 {
 }
Exemplo n.º 4
0
 public GameAwake(MainMediator gameMediator) : base(gameMediator)
 {
 }
Exemplo n.º 5
0
 public GameStateBase(MainMediator gMediator)
 {
     this.gameMediator = gMediator;
 }
Exemplo n.º 6
0
 public PlayerAttack(MainMediator gameMediator) : base(gameMediator)
 {
 }
Exemplo n.º 7
0
 public PlayerSetFallPoint(MainMediator gameMediator) : base(gameMediator)
 {
 }
Exemplo n.º 8
0
 public GameState(MainMediator gameMediator)
 {
     this.stateMachine = new StateMachine <GameStateType>();
     this.gameMediator = gameMediator;
 }
Exemplo n.º 9
0
 public void StartShake(MainMediator main, Action <ResultShake> callback)
 {
     info.menkoList      = main.menkoList;
     info.resultCallback = callback;
     stateMachine.SetState(stateCache.GetState(ShakeKey.Wait));
 }