I might have broken something (everything)

This commit is contained in:
Sebastian Cabrera 2024-10-23 14:26:13 -04:00
parent 8789118ca7
commit b9d8694c3e
25 changed files with 12 additions and 68 deletions

21
.vscode/launch.json vendored
View file

@ -1,21 +0,0 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "java",
"name": "Debug (Launch) - Current File",
"request": "launch",
"mainClass": "${file}"
},
{
"type": "java",
"name": "Debug (Launch)-GameManager<pixels>",
"request": "launch",
"mainClass": "bz.bronze.pixels.game.GameManager",
"projectName": "pixels"
}
]
}

View file

@ -1,7 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="res"/>
<classpathentry kind="output" path="bin"/>
</classpath>

View file

@ -1,17 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<projectDescription>
<name>pixels</name>
<comment/>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>

View file

@ -1,11 +0,0 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=11
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=10
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=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=11

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -1,4 +1,4 @@
package bz.bronze.pixels.engine; package com.okseby.pixels.engine;
public abstract class AbstractGame { public abstract class AbstractGame {
public abstract void update(float dt); public abstract void update(float dt);

View file

@ -1,4 +1,4 @@
package bz.bronze.pixels.engine; package com.okseby.pixels.engine;
public class GameContainer implements Runnable { public class GameContainer implements Runnable {
private Thread thread; private Thread thread;

View file

@ -1,4 +1,4 @@
package bz.bronze.pixels.engine; package com.okseby.pixels.engine;
import java.awt.event.KeyEvent; import java.awt.event.KeyEvent;
import java.awt.event.KeyListener; import java.awt.event.KeyListener;

View file

@ -1,8 +1,8 @@
package bz.bronze.pixels.engine; package com.okseby.pixels.engine;
import java.awt.image.DataBufferInt; import java.awt.image.DataBufferInt;
import bz.bronze.pixels.engine.gfx.Image; import com.okseby.pixels.engine.gfx.Image;
public class Renderer { public class Renderer {
private int pW, pH; private int pW, pH;

View file

@ -1,4 +1,4 @@
package bz.bronze.pixels.engine; package com.okseby.pixels.engine;
import java.awt.BorderLayout; import java.awt.BorderLayout;
import java.awt.Canvas; import java.awt.Canvas;

View file

@ -1,4 +1,4 @@
package bz.bronze.pixels.engine.gfx; package com.okseby.pixels.engine.gfx;
import java.awt.image.BufferedImage; import java.awt.image.BufferedImage;
import java.io.IOException; import java.io.IOException;

View file

@ -1,11 +1,11 @@
package bz.bronze.pixels.game; package com.okseby.pixels.game;
import java.awt.event.KeyEvent; import java.awt.event.KeyEvent;
import bz.bronze.pixels.engine.AbstractGame; import com.okseby.pixels.engine.AbstractGame;
import bz.bronze.pixels.engine.GameContainer; import com.okseby.pixels.engine.GameContainer;
import bz.bronze.pixels.engine.Renderer; import com.okseby.pixels.engine.Renderer;
import bz.bronze.pixels.engine.gfx.Image; import com.okseby.pixels.engine.gfx.Image;
public class GameManager extends AbstractGame { public class GameManager extends AbstractGame {
static GameContainer gc; static GameContainer gc;