Skip to content

Commit

Permalink
creo objeto juegoDeDinosaurio
Browse files Browse the repository at this point in the history
  • Loading branch information
joaquin-burgio committed Oct 1, 2024
1 parent 71c7572 commit bb62161
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 34 deletions.
Binary file removed assets/golondrina.png
Binary file not shown.
3 changes: 3 additions & 0 deletions example.wlk
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
object juegoDeDinosaurio {
method iniciar() {}
}
15 changes: 3 additions & 12 deletions main.wpgm
Original file line number Diff line number Diff line change
@@ -1,16 +1,7 @@
import wollok.game.*
import example.*

import pepita.*

program PepitaGame {
game.title("Pepita")
game.height(10)
game.width(10)
game.cellSize(100)

game.addVisual(pepita)

keyboard.w().onPressDo({ pepita.fly(1) })

program DinoGame {
juegoDeDinosaurio.iniciar()
game.start()
}
16 changes: 0 additions & 16 deletions pepita.wlk

This file was deleted.

12 changes: 6 additions & 6 deletions pruebas.wtest
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import pepita.*
// import example.*

describe "group of tests for pepita" {
// describe "group of tests for pepita" {

test "pepita has initial energy" {
assert.equals(100, pepita.energy())
}
// test "pepita has initial energy" {
// assert.equals(100, pepita.energy())
// }

}
// }

0 comments on commit bb62161

Please sign in to comment.