New better sound support
This commit is contained in:
parent
47de3ed661
commit
635d756429
3 changed files with 131 additions and 52 deletions
|
|
@ -36,6 +36,15 @@ public class Vector2f {
|
|||
y += i;
|
||||
}
|
||||
|
||||
/**
|
||||
* Add to the vectro
|
||||
* @param i The amount to add
|
||||
*/
|
||||
public void add(Vector2f i){
|
||||
x += i.getX();
|
||||
y += i.getY();
|
||||
}
|
||||
|
||||
public String toString(){
|
||||
return "Vector2f["+x+","+y+"]";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue