-
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 #198 from NMiklu/puzzle-editor
Added elements to lightup puzzle
- Loading branch information
Showing
3 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package edu.rpi.legup.puzzle.lightup.elements; | ||
|
||
import edu.rpi.legup.model.elements.PlaceableElement; | ||
|
||
public class BlackTile extends PlaceableElement { | ||
public BlackTile() { | ||
super("LTUP-PLAC-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/BulbTile.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.PlaceableElement; | ||
|
||
public class BlubTile extends PlaceableElement { | ||
public BulbTile() { | ||
super("LTUP-PLAC-0001", "Bulb Tile", "The bulb tile", "edu/rpi/legup/images/lightup/light.png"); | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
src/main/java/edu/rpi/legup/puzzle/lightup/elements/NumberTile.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 NumberTile extends NonPlaceableElement { | ||
public NumberTile() { | ||
super("LTUP-UNPL-0001", "Number Tile", "The number tile", "edu/rpi/legup/images/lightup/1.gif"); | ||
} | ||
} |