-
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
1 parent
71c7572
commit bb62161
Showing
5 changed files
with
12 additions
and
34 deletions.
There are no files selected for viewing
Binary file not shown.
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,3 @@ | ||
object juegoDeDinosaurio { | ||
method iniciar() {} | ||
} |
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,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() | ||
} |
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
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()) | ||
// } | ||
|
||
} | ||
// } |