public override MapObject getBomb(Player player) { BombIcon bombIcon = new BombIcon(); BombFire bombFire = new BombFire(); RedBomb bomb = new RedBomb(player); bombIcon.SetComponent(bomb); bombFire.SetComponent(bombIcon); bombFire.Operation(); return(bomb); }
void Start() { m_BombFire = GetComponent <BombFire> (); m_Movement = GetComponent <PlayerMovement> (); m_Pause = GetComponent <PauseMenu> (); }
void Start() { m_BombFire = GetComponent<BombFire> (); m_Movement = GetComponent<PlayerMovement> (); m_Pause = GetComponent<PauseMenu> (); }