예제 #1
0
        public void pu_Spawn(int indi)
        {
            powerup powerup = new powerup();
            ind_pu += indi;
            powers.Add(powerup);

        }
예제 #2
0
        public void draw(powerup powerup, BufferedGraphics buffer)
        {
            buffer.Graphics.DrawImage(Ibala, new Rectangle(powerup.getX() * 20, (powerup.getY()) * 20, 20, 20));

        }