void addSheeps() { Nave auxol = colaNaves.Dequeue(); if (auxol != null) { if (activeNaves.Count <= 20) { auxol.cloneSheep(); } else { colaNaves.Enqueue(auxol); } } }
void Nave_shootNou(Nave arg1, Bullet arg2) { activeBullets.Add(arg2); }
public void cloneSheep() { Nave retornable = new Nave(name, hp, width, height, startSound, deathSound, fireSound, hitSound, speed, damage, provavilityFire, speedBullet, provavilityAppears, bulletWidth, bulletHeight, coloring); ready(retornable); }