public ABMJugadores()
 {
     InitializeComponent();
     jl            = new JugadorLogic();
     jugadores     = new List <Jugador>();
     jugadorActual = new Jugador();
 }
 public ABMPartidos()
 {
     InitializeComponent();
     partidoLogic  = new PartidoLogic();
     partidos      = new List <Partido>();
     partidoActual = new Partido();
     jugadorLogic  = new JugadorLogic();
 }
 void Start()
 {
     meshBarril     = gameObject.GetComponent <MeshRenderer>();
     colliderBarril = gameObject.GetComponent <BoxCollider>();
     noHayLanzas    = true;
     cant_lanza     = 5f;
     dragon         = GameObject.FindGameObjectWithTag("Dragon").GetComponent <DrakanLogic>();
     jugador        = GameObject.FindGameObjectWithTag("Jugador").GetComponent <JugadorLogic>();
 }
Exemple #4
0
 private void Start()
 {
     jugadorRef = GameObject.FindGameObjectWithTag("Jugador").GetComponent <JugadorLogic>();
     //daño = jugadorRef.vida * 25 / 100;
     rbFuego.AddRelativeForce(Vector3.forward * velocidad * Time.deltaTime, ForceMode.Impulse);
 }
 public ABMGoles()
 {
     InitializeComponent();
     jugadorData = new JugadorLogic();
     jugadores   = new List <Jugador>();
 }
 void Start()
 {
     cantidadPiezas = GameObject.FindGameObjectWithTag("Jugador").GetComponent <JugadorLogic>();
 }