-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
288 additions
and
215 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
61 changes: 0 additions & 61 deletions
61
app-javafx/src/main/java/software/onepiece/javarcade/engine/GameState.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
module software.onepiece.javarcade.border.blocks { | ||
requires transitive software.onepiece.javarcade.model; | ||
|
||
exports software.onepiece.javarcade.border.blocks; | ||
|
||
provides software.onepiece.javarcade.model.Inhabitant with | ||
software.onepiece.javarcade.border.blocks.WallLeft, | ||
software.onepiece.javarcade.border.blocks.WallRight; | ||
} |
17 changes: 17 additions & 0 deletions
17
border-blocks/src/main/java/software/onepiece/javarcade/border/blocks/WallLeft.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package software.onepiece.javarcade.border.blocks; | ||
|
||
import software.onepiece.javarcade.model.Inhabitant; | ||
|
||
import java.io.InputStream; | ||
|
||
public class WallLeft implements Inhabitant { | ||
@Override | ||
public char getRef() { | ||
return '['; | ||
} | ||
|
||
@Override | ||
public InputStream getImage() { | ||
return getClass().getResourceAsStream("assets/wall_left.png"); | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
border-blocks/src/main/java/software/onepiece/javarcade/border/blocks/WallRight.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package software.onepiece.javarcade.border.blocks; | ||
|
||
import software.onepiece.javarcade.model.Inhabitant; | ||
|
||
import java.io.InputStream; | ||
|
||
public class WallRight implements Inhabitant { | ||
@Override | ||
public char getRef() { | ||
return ']'; | ||
} | ||
|
||
@Override | ||
public InputStream getImage() { | ||
return getClass().getResourceAsStream("assets/wall_right.png"); | ||
} | ||
} |
File renamed without changes
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.