Untitled
unknown
plain_text
a year ago
509 B
3
Indexable
public void Kollision(){ Actor s = getOneIntersectingObject(gegner.class); Actor t = getOneIntersectingObject(gegner2.class); Actor d = getOneIntersectingObject(oger_boss.class); if(s != null || t != null || d !=null){ setLocation(posX = 420, posY = 600); } if (d!=null){ Planet.lifeCount.setValue(Planet.lifeCount.getValue()-1); } }
Editor is loading...
Leave a Comment