Skip to content

Commit

Permalink
Update Example - Game Window Food.monkey2
Browse files Browse the repository at this point in the history
  • Loading branch information
Pakz001 committed Jun 27, 2017
1 parent af83854 commit 0fd74c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Example - Game Window Food.monkey2
Expand Up @@ -37,7 +37,7 @@ Class MyWindow Extends Window
canvas.DrawText("Press Space or Press Left Mouse for Random food count",0,0)
' Run the function that draws the city food
' overview window.
drawfooddisplay(canvas)
drawfoodwindow(canvas)
' If we press the space bar then make the foodcount
' variable a random number
If Keyboard.KeyReleased(Key.Space) Or Mouse.ButtonReleased(MouseButton.Left) Then
Expand All @@ -56,7 +56,7 @@ End Class
' Based on the Civilization 1 city food
' screen.
'
Function drawfooddisplay(canvas:Canvas)
Function drawfoodwindow(canvas:Canvas)
'draw the white outline
canvas.Color = Color.White
canvas.DrawRect(foodsx-2,foodsy-2,foodsw+4,foodsh+4)
Expand Down

0 comments on commit 0fd74c8

Please sign in to comment.