Skip to content

Commit

Permalink
Better icon and text
Browse files Browse the repository at this point in the history
  • Loading branch information
PalumboN committed Aug 11, 2016
1 parent 93abea0 commit 6590d1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file modified org.uqbar.project.wollok.game/assets/wko.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import org.uqbar.project.wollok.game.Position
class Window {
val patch = new NinePatch(new Texture(Gdx.files.internal("speech.png")), 30, 60, 40, 50)
val defaultImage = new Texture(Gdx.files.internal("wko.png")) //TODO: Merge with WollokConventionExtensions DEFAULT_IMAGE
val notFoundText = "Image\nnot found"
val notFoundText = "IMAGE\nNOT\nFOUND"
val textBitmap = new BitmapFont()
val batch = new SpriteBatch()
val font = new BitmapFont()
Expand All @@ -40,7 +40,7 @@ class Window {

def drawNotFoundImage(int x, int y) {
batch.draw(defaultImage, x, y)
write(notFoundText, Color.DARK_GRAY, x - 80, y + 40)
write(notFoundText, Color.BLACK, x - 80, y + 50)
}

def writeAttributes(String text, Position position, Color color) {
Expand Down

0 comments on commit 6590d1b

Please sign in to comment.