This file contains hidden or 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
/* | |
Initialize the variables | |
-------------------------- | |
private int jumpWidth = 0; | |
private boolean jumpStatus = false; | |
private int gravity = 2; | |
private int jumpPower = 5; | |
private boolean startJump = false; | |
*/ |
This file contains hidden or 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
<(?(?=!--)!--[\s\S]*--|(?(?=\?)\?[\s\S]*\?|(?(?=\/)\/[^.\d-][^\/\]'"[!#$%&()*+,;<=>?@^`{|}~ ]*|[^.\d-][^\/\]'"[!#$%&()*+,;<=>?@^`{|}~ ]*(?:\s[^.\d-][^\/\]'"[!#$%&()*+,;<=>?@^`{|}~ ]*(?:=(?:"[^"]*"|'[^']*'|[^'"<\s]*))?)*)\s?\/?))> | |
< # Tags always begin with <. | |
(? # What if... | |
(?=!--) # We have a comment? | |
!--[\s\S]*-- # If so, anything goes between <!-- and -->. | |
| # OR | |
(? # What if... | |
(?=\?) # We have a scripting tag? | |
\?[\s\S]*\? # If so, anything goes between <? and ?>. |
NewerOlder