コード例 #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));

        }