| | |
java 2d game(naming items)
Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Mar 2004
Posts: 765
Reputation:
Solved Threads: 38
you need to be a little more specific of what you're trying to do.
that could mean something as simple as this:
•
•
•
•
i want to name a item and give it a color
Java Syntax (Toggle Plain Text)
class Item { String name; Color color; public Item(String name, Color color) { this.name = name; this.color = color; } } Item myItem = new Item("monster", new Color(147,54,175));
![]() |
Similar Threads
- java game code (Java)
- Java Game Engine for a Game called "Attaxx". (Game Development)
- Java Code for interesting Java Game (Java)
- Java Game Characteristics (Java)
- Java Game Characteristics (Java)
- A great java game. (Geeks' Lounge)
- build java game (Java)
Other Threads in the Java Forum
- Previous Thread: Inheritance problems
- Next Thread: java, bluetooth. cellphones and media player
| Thread Tools | Search this Thread |
3d @param affinetransform android api applet application arc arguments array arrays automation binary bluetooth byte capture chat class classes click client code color compare component count database detection draw eclipse eclipsedevelopment error event exception fractal game givemetehcodez graphics gridlayout gui guitesting helpwithhomework html ide if_statement image input integer j2me java java.xls javaprojects jni jpanel julia keytool keyword linux list loop macintosh map method methods mobile netbeans newbie object oracle os pong print problem producer program programming project projectideas read recursion replaysolutions rim scanner screen server set size sms sort sql string swing terminal threads time transforms tree ui web windows





