Exemplo n.º 1
0
        public Tiro atirar(GerenciadorTiro gt)
        {
            Tiro t = gt.getTiro();

            if (t != null)
            {
                t.pos    = this.pos;
                t.pos.X += 10;
                t.pos.Y += 5;
                t.Disparar();
            }
            return(t);
        }