jam/SpriteAlteringHelp

From ggc

Jump to: navigation, search

01 package jam;
02 
03 import wiki.Wiki;
04 import fang.*;
05 import java.awt.*;
06 import java.awt.geom.*;
07 
08 /**
09  * All about my game here.
10  @author Jam Jenkins
11  */
12 public class SpriteAlteringHelp extends Game
13 {
14   /**sets up the game*/
15   public void setup()
16   {
17     OvalSprite oval=new OvalSprite(21);
18     oval.setColor(new Color(551550));
19     oval.setSize(0.75);
20     oval.setLocation(0.50.5);
21     addSprite(oval);
22 
23     PolygonSprite different=new PolygonSprite(0011010.40.521);
24     different.setColor(new Color(0255255));
25     different.setSize(0.25);
26     different.setLocation(0.250.5);
27     addSprite(different);
28   }
29 
30 }


Download/View jam/SpriteAlteringHelp.java





Views
Personal tools
Add to 
del.icio.usAdd to 
diggAdd to 
FacebookAdd to 
favoritesAdd to 
GoogleAdd to 
MySpaceAdd to 
PrintAdd to 
SlashdotAdd to 
StumbleUponAdd to 
Twitter