reading from a txt file Programming Software Development by polska03 …1) SpacePort has-many SpaceShip (2) SpaceShip has-a Captain (3) SpaceShip has-a Engine (4) SpaceShip has-a RegistrationDate (5… import fileIOPKG.*; import jdUtil.*; public class SpacePort { private SpaceShip[] ship; private int num_ships; public SpacePort(){ readFromFile(); } … Re: draw an image at a specific location Programming Software Development by Akill10 …; private Timer t; boolean turnLeft = false; private boolean inGame; private SpaceShip spaceship; private int B_WIDTH; private int B_HEIGHT; public GamePanel(){ addKeyListener(new… Re: reading from a txt file Programming Software Development by javaAddict …10 the number of crewmen [CODE] 5 <SpaceShip> spaceShipName <Crewman> 10 Crewman,…personName,pid,year,month,day, </SpaceShip> ..... <SpaceShip> .... </SpaceShip> [/CODE] I tried to … <NumOfSpaceShips>5</NumOfSpaceShips> <SpaceShip> <SpaceShipName>uss177</SpaceShipName>… simpler/quicker way to swap image Programming Software Development by Akill10 …called GamePanel and it contains this: [CODE] SpaceShip spaceship = new SpaceShip("Galatar"); public void paintComponent(Graphics g)…;); if(e.getKeyCode()==KeyEvent.VK_RIGHT){ sShipX = spaceship.move_right(sShipX); spaceship.setSpaceShipSprite("right"); }[/CODE] getSpaceShipSprite() and… Pygame and Livewires games.init() error Programming Software Development by jfarny … for score. """ super(Spaceship, self).__init__(image = Spaceship.image, x = games.mouse.x, bottom… the_duck = Duck() games.screen.add(the_duck) the_ship = Spaceship() games.screen.add(the_ship) games.mouse.is_visible = False… Re: simpler/quicker way to swap image Programming Software Development by quuba …Graphics2D) g; g2d.drawImage(bgI, 0, 0, null); spaceship.drawShip(g2d); } //KeyPressed method if (e.getKeyCode() == …KeyEvent.VK_LEFT) { spaceship.move_left(); } else if (e.getKeyCode() == KeyEvent.VK_RIGHT) { spaceship.move_right(); }[/CODE] let the… Re: assign for created object Programming Software Development by skyzer … clicking launch planeed spaceship, the spaceship flies out. so i want that spaceship to change it…quot;; private static final String LBL_TITLE_PLANNED_SHIP_PANEL = "Planned SpaceShip"; private static final String LBL_SINGLE_TICK = "… the speed there and try to launch spaceship: [QUOTE]Exception in thread "AWT… Re: assign for created object Programming Software Development by skyzer …;Time"; private static final String LBL_TITLE_PLANNED_SHIP_PANEL = "Planned SpaceShip"; private static final String LBL_SINGLE_TICK = "Tick"…) { PointSimulationElement pl_s = planetarySystem.getElement(id); planetarySystem.append(new SpaceShip(pl_s.getx(), pl_s.gety(), dx, dy)); } public void … VERY URGENT JAVA APPLET Programming Software Development by james12James12 …; private int number; private int answers; private boolean hasBeenClicked; ImageIcon spaceShip; List<Answer> possibleAnswers; public Square(int x, int… assign for created object Programming Software Development by skyzer … some explaining. My example is that i have a controlled spaceship. here is userinterface: 3 - planet from which is starts…. But my question is how to appoint to my spaceship speed, direction etc. I mean before i click launch…to bind then my command control execution with my created spaceship? here is my userinterface class method which should do… How to Eliminate FIs and elses Programming Software Development by edygraca …= tre; tre.pickUp(); } else if( t instanceof Spaceship ){ Spaceship s = (Spaceship)t; draggedShip = s; s.pickUp(); } int dtx… the level if( getWorld().getFuelPercentage() == 100 ){ Spaceship n = getWorld().getMainSpaceship(); if( n.getBounds().intersects(… SDL_GetError() not working? Need help! Programming Software Development by metalclunch …() { bossShip = Load_Image( "leadership.png" ); spaceShip = Load_Image( "spaceship.png" ); ammo = Load_Image( "ammo.png"…); background = Load_Image( "background.png" ); if( bossShip == NULL || spaceShip == NULL || ammo == NULL || welcomeBackground == NULL || background == NULL ) { … Re: assign for created object Programming Software Development by NormR1 [QUOTE]how to appoint to my spaceship speed, direction etc. I mean before i click launch button,[/… you 'appoint'/set their values in the constructor for the spaceship object? Your scattered comments and pieces of code are hard… need help with opengl/c++ Programming Software Development by rabihayass … to top, and need help to draw a spaceship firing rockets the spaceship.Rockets and the spacecraft can be built of either…. here's my code plz help me to draw the spaceship firing rockets as i have no idea how to draw… Re: assign for created object Programming Software Development by skyzer [url]http://code.google.com/p/avtozavod/source/browse/#svn/branches/src[/url] hi i uploaded my project here, it's actually abit more complicated because it's with UI and is simulating whole thing. I still can't bind my commands like change speed or direction with my launched spaceship. any solutions or ideas would be appreciated Prophet Yahweh Community Center Geeks' Lounge by danizzil14 …. Also, before the 45 day summoning period has ended, a spaceship will descend and sit in the skies over Las Vegas… on Prophet's signal. The spaceship will hover in the sky, not far from Nellis Air… vectors to angles Programming Software Development by midimatt … and currently i have created a game which draws a spaceship on the screen and allows me to move it around…'m trying to do is make the sprite of the spaceship face the direction it is traveling. one way i was… C program for to find optimal path Programming Software Development by kirtics344 … output for all test cases within the stipulated time) A spaceship carrying a convention of high ranking officials had a close… now scattered over the surface over a meteor and the spaceship is beyond repair. Fluke LandCrawler was an emergency replacement for… move and refuel methods Programming Software Development by longlongsilver … i got [CODE]class Ship(object): """A spaceship""" total = 0 def __init__(self, name, fuel…=0): print "My spaceship has arrived! The",name self.name = name self.fuel… Re: move and refuel methods Programming Software Development by longlongsilver … the scenes class Ship(object): """Creates a spaceship""" def __init__(self, name = "Enterprise"…; 0: self.fuel = 0 def status(self): print "\nThe spaceship's name is", self.name print "\nAnd the… Re: move and refuel methods Programming Software Development by TrustyTony … the scenes class Ship(object): """Creates a spaceship""" def __init__(self, name = "Enterprise"…; 0: self.fuel = 0 def status(self): print "\nThe spaceship's name is", self.name print "\nAnd the… Voyager 1 Nears End of Solar System Community Center by kc0arf … other planets: Uranus and Neptune, and those visits cost the spaceship some speed and distance. Terms: -------- Termination Shock: region of space… PC World Linux laptop warranty saga gets even more bizarre Hardware and Software Linux and Unix by happygeek … screen could not be repaired under warranty. Perhaps the Linux spaceship had landed on the display causing the damage? Makes about… Playing Old Apple Games on the PC: Yes, it's Possible Community Center Geeks' Lounge by tamar … of the maze (more walls, making it easier for your spaceship to crash) and there are nine levels to choose from… C++ Client Help needed! Programming Software Development by Tvirusx1 … Pro and I found out that I could controll the Spaceship by sending specific Packets (I have some Packet codes already… My name is commondoor and I am... Community Center Say Hello! by commondoor … drawings would invariably depict some mass invasion by the triangle spaceship horde against [U]me[/U] with my modified wave motion… Help with Java Switch Statement Programming Software Development by kumaran21 … multiplayer online game. " + "Players take the role of spaceship pilots seeking " + "fame, fortune, and adventure in a… Re: Help with Java Switch Statement Programming Software Development by kumaran21 … multiplayer online game. " + "Players take the role of spaceship pilots seeking " + "fame, fortune, and adventure in a… Re: Help with Java Switch Statement Programming Software Development by kumaran21 … multiplayer online game. " + "Players take the role of spaceship pilots seeking " + "fame, fortune, and adventure in a… Metroid: Other M Community Center Geeks' Lounge by PCBrown … Adam claim that certain tools would prove dangerous in a spaceship environment, but that too feels like a cop out. The…