Skip to content

Commit

Permalink
Update RPG topdown.monkey
Browse files Browse the repository at this point in the history
  • Loading branch information
Pakz001 committed May 31, 2016
1 parent e614a95 commit 2fe5213
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions RPG topdown.monkey
Expand Up @@ -244,9 +244,9 @@ Class player
Field health:Int = 3
Field maxhealth:Int=10
Method update()
If KeyDown(KEY_CONTROL)
' If KeyDown(KEY_CONTROL)
firetoenemy()
End If
' End If
If KeyDown(KEY_RIGHT)
ptcs(1,0)
For Local i=0 Until 2
Expand Down Expand Up @@ -302,8 +302,8 @@ Class player
End Class

Class shot
Field x:Int,y:Int
Field tx:Int,ty:Int
Field x:Float,y:Float
Field tx:Float,ty:Float
Field angle:Int
Field timeout:Int=100
Field remove:Bool=False
Expand Down

0 comments on commit 2fe5213

Please sign in to comment.