-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #629 from charlestian23/dev
Light Up puzzle editor fix
- Loading branch information
Showing
4 changed files
with
49 additions
and
3 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
6 changes: 3 additions & 3 deletions
6
src/main/java/edu/rpi/legup/puzzle/lightup/elements/BlackTile.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,9 +1,9 @@ | ||
package edu.rpi.legup.puzzle.lightup.elements; | ||
|
||
import edu.rpi.legup.model.elements.PlaceableElement; | ||
import edu.rpi.legup.model.elements.NonPlaceableElement; | ||
|
||
public class BlackTile extends PlaceableElement { | ||
public class BlackTile extends NonPlaceableElement { | ||
public BlackTile() { | ||
super("LTUP-PLAC-0002", "Black Tile", "The black tile", "edu/rpi/legup/images/lightup/black.gif"); | ||
super("LTUP-UNPL-0002", "Black Tile", "The black tile", "edu/rpi/legup/images/lightup/black.gif"); | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
src/main/java/edu/rpi/legup/puzzle/lightup/elements/UnknownTile.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,9 @@ | ||
package edu.rpi.legup.puzzle.lightup.elements; | ||
|
||
import edu.rpi.legup.model.elements.NonPlaceableElement; | ||
|
||
public class UnknownTile extends NonPlaceableElement { | ||
public UnknownTile() { | ||
super("LTUP-UNPL-0003", "Unknown Tile", "A blank tile", "edu/rpi/legup/images/lightup/UnknownTile.png"); | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.