update javadoc
This commit is contained in:
@@ -3,9 +3,9 @@
|
|||||||
|
|
||||||
**Author - Mitch Weaver 2016**
|
**Author - Mitch Weaver 2016**
|
||||||
|
|
||||||
*Support SJGS - Paypal:* **simplejavagamesystem@gmail.com**
|
*Support / Contact SJGS - Paypal / Email:* **simplejavagamesystem@gmail.com**
|
||||||
|
|
||||||
###### *VERSION 1.0*
|
*SJGS ver1.0*
|
||||||
|
|
||||||
--------------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|||||||
@@ -112,7 +112,7 @@ public abstract class GameObject implements Serializable {
|
|||||||
public void setFacing(final Facing facing) { bounds.setFacing(facing); }
|
public void setFacing(final Facing facing) { bounds.setFacing(facing); }
|
||||||
public Type getType() { return bounds.getType(); }
|
public Type getType() { return bounds.getType(); }
|
||||||
|
|
||||||
public PyFunction createPyFunction(String funcName) { return PyUtils.createPyFunction(funcName); }
|
public PyFunction createPyFunction(final String funcName) { return PyUtils.createPyFunction(funcName); }
|
||||||
|
|
||||||
public Point2f getTopRight() { return getBounds().getTopRight(); }
|
public Point2f getTopRight() { return getBounds().getTopRight(); }
|
||||||
public Point2f getTopLeft() { return getBounds().getTopLeft(); }
|
public Point2f getTopLeft() { return getBounds().getTopLeft(); }
|
||||||
|
|||||||
@@ -34,9 +34,9 @@ public abstract class PlayerBase extends GameObject implements Serializable {
|
|||||||
@Override
|
@Override
|
||||||
protected void removeFromHandler() { Handler.removePlayer(this); }
|
protected void removeFromHandler() { Handler.removePlayer(this); }
|
||||||
|
|
||||||
public void setLookingUp(boolean b) { this.lookingUp = b; }
|
public void setLookingUp(final boolean b) { lookingUp = b; }
|
||||||
public boolean getLookingUp() { return lookingUp; }
|
public boolean getLookingUp() { return lookingUp; }
|
||||||
public void setLookingDown(boolean b) { this.lookingDown = b; }
|
public void setLookingDown(final boolean b) { lookingDown = b; }
|
||||||
public boolean getLookingDown() { return lookingDown; }
|
public boolean getLookingDown() { return lookingDown; }
|
||||||
public void setJumping(final boolean jumping) { this.jumping = jumping; }
|
public void setJumping(final boolean jumping) { this.jumping = jumping; }
|
||||||
public boolean getJumping() { return jumping; }
|
public boolean getJumping() { return jumping; }
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
package sjgs.utils.multithreading;
|
package sjgs.utils.multithreading;
|
||||||
|
|
||||||
|
|
||||||
public class Runner extends Thread {
|
public class Runner extends Thread {
|
||||||
|
|
||||||
private final Executable e;
|
private final Executable e;
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ public class PyUtils {
|
|||||||
try { in.close(); in = null; } catch (final Exception e) { e.printStackTrace(); }
|
try { in.close(); in = null; } catch (final Exception e) { e.printStackTrace(); }
|
||||||
}
|
}
|
||||||
|
|
||||||
public static PyFunction createPyFunction(String funcName) { return pi.get(funcName, PyFunction.class); }
|
public static PyFunction createPyFunction(final String funcName) { return pi.get(funcName, PyFunction.class); }
|
||||||
|
|
||||||
public static PyObject java2py(final Object o) { return Py.java2py(o); }
|
public static PyObject java2py(final Object o) { return Py.java2py(o); }
|
||||||
public static PyInteger int2py(final int i) { return new PyInteger(i); }
|
public static PyInteger int2py(final int i) { return new PyInteger(i); }
|
||||||
|
|||||||
Reference in New Issue
Block a user