-
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
23 changed files
with
130 additions
and
62 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,7 +48,7 @@ jobs: | |
distribution: temurin | ||
java-version-file: .oj/jdk-version.txt | ||
- uses: gradle/[email protected] | ||
- run: "./oj ${{ matrix.os }}Build" | ||
- run: "./oj assemble${{ matrix.os }" | ||
env: | ||
BUILD_CACHE_USER: ${{ secrets.BUILD_CACHE_USER }} | ||
BUILD_CACHE_PWD: ${{ secrets.BUILD_CACHE_PWD }} | ||
|
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
Binary file not shown.
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
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
9 changes: 7 additions & 2 deletions
9
character-bigs/src/main/java/software/onepiece/javarcade/character/bigs/Bigs.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
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
14 changes: 12 additions & 2 deletions
14
character-wedge/src/main/java/software/onepiece/javarcade/character/wedge/Wedge.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 |
---|---|---|
@@ -1,12 +1,22 @@ | ||
package software.onepiece.javarcade.character.wedge; | ||
|
||
import software.onepiece.javarcade.model.Character; | ||
import software.onepiece.javarcade.model.Inhabitant; | ||
|
||
import java.io.InputStream; | ||
|
||
public class Wedge implements Character { | ||
public class Wedge implements Inhabitant { | ||
@Override | ||
public char getRef() { | ||
return 'W'; | ||
} | ||
|
||
@Override | ||
public InputStream getImage() { | ||
return getClass().getResourceAsStream("assets/wedge.png"); | ||
} | ||
|
||
@Override | ||
public boolean controllable() { | ||
return true; | ||
} | ||
} |
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
Binary file modified
BIN
-1 Byte
(99%)
...rc/main/resources/software/onepiece/javarcade/inhabitant/floor/assets/floor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,8 @@ | ||
module software.onepiece.javarcade.inhabitant.wall { | ||
requires transitive software.onepiece.javarcade.model; | ||
|
||
exports software.onepiece.javarcade.inhabitant.wall; | ||
|
||
provides software.onepiece.javarcade.model.Inhabitant | ||
with software.onepiece.javarcade.inhabitant.wall.Wall; | ||
} |
22 changes: 22 additions & 0 deletions
22
inhabitant-wall/src/main/java/software/onepiece/javarcade/inhabitant/wall/Wall.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,22 @@ | ||
package software.onepiece.javarcade.inhabitant.wall; | ||
|
||
import software.onepiece.javarcade.model.Inhabitant; | ||
|
||
import java.io.InputStream; | ||
|
||
public class Wall implements Inhabitant { | ||
@Override | ||
public char getRef() { | ||
return 'x'; | ||
} | ||
|
||
@Override | ||
public InputStream getImage() { | ||
return getClass().getResourceAsStream("assets/wall.png"); | ||
} | ||
|
||
@Override | ||
public boolean blocks() { | ||
return true; | ||
} | ||
} |
Binary file added
BIN
+128 Bytes
.../src/main/resources/software/onepiece/javarcade/inhabitant/wall/assets/wall.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
7 changes: 0 additions & 7 deletions
7
model/src/main/java/software/onepiece/javarcade/model/Character.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