Added some comments
This commit is contained in:
parent
a0a8323032
commit
e1d1803cd2
@ -54,6 +54,10 @@ public class HitBox {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @param hb an Hitbox
|
||||||
|
* @return true if HitBox overlap else return false
|
||||||
|
*/
|
||||||
public Boolean hit(HitBox hb) {
|
public Boolean hit(HitBox hb) {
|
||||||
Boolean horiz = false;
|
Boolean horiz = false;
|
||||||
Boolean ver = false;
|
Boolean ver = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user