Skip to content
Permalink
Browse files

Temp

  • Loading branch information
jdm13003 committed Feb 26, 2016
1 parent 7ba2cad commit 6f7cbd245c16d94845e6ecac33cae10bf864d37f
Showing with 56 additions and 6 deletions.
  1. +1 −1 .classpath
  2. +5 −5 .settings/org.eclipse.jdt.core.prefs
  3. +18 −0 src/main/Game.java
  4. +19 −0 src/main/Main.java
  5. +5 −0 src/ship/Playership.java
  6. +8 −0 src/ship/ship.java
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/CDC-1.1%Foundation-1.1"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="output" path="bin"/>
</classpath>
@@ -1,11 +1,11 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=disabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.2
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.1
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.4
org.eclipse.jdt.core.compiler.compliance=1.3
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=warning
org.eclipse.jdt.core.compiler.problem.enumIdentifier=warning
org.eclipse.jdt.core.compiler.problem.assertIdentifier=ignore
org.eclipse.jdt.core.compiler.problem.enumIdentifier=ignore
org.eclipse.jdt.core.compiler.source=1.3
@@ -0,0 +1,18 @@
package main;

import java.awt.Dimension;

import javax.swing.JFrame;
import javax.swing.JPanel;

public class Game {
public Game(){
JFrame container = new JFrame("Padraic");
JPanel panel = (JPanel) container.getContentPane();
panel.setPreferredSize(new Dimension(800,600));
panel.setLayout(null);

panel.setBounds(0,0,800,600);
setIgnoreRepaint(true);
}
}
@@ -0,0 +1,19 @@
package main;

import java.awt.Dimension;

import javax.swing.*;
public class Main extends JFrame{
public static void main(String[] args){
new Game();
}
public void Game(){
JFrame container = new JFrame("Padraic");
JPanel panel = (JPanel) container.getContentPane();
Dimension D = new Dimension(800,600);
panel.setPreferredSize(new Dimension(800,600));


}

}
@@ -0,0 +1,5 @@
package ship;

public class Playership extends ship{
public void abstract move();
}
@@ -0,0 +1,8 @@
package ship;

public class ship {
static int posx;
static int posy;
static int health;

}

0 comments on commit 6f7cbd2

Please sign in to comment.
You can’t perform that action at this time.