CellsHelper
Contents
[
Hide
]
Inheritance: java.lang.Object
public class CellsHelper
Functions for cells posicioning and restoring small damage.
Constructors
Constructor | Description |
---|---|
CellsHelper() |
Methods
Method | Description |
---|---|
bitToBitmapPosition(RegionalTransformation2D transf, float x, float y, int[] x1, int[] y1) | Calculates a real position by use trensformation object (add “smart” round) |
equals(Object arg0) | |
flipByOrder(int[] valueFrom, int[] valueTo) | Orders two values |
getClass() | |
hashCode() | |
notify() | |
notifyAll() | |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
CellsHelper()
public CellsHelper()
bitToBitmapPosition(RegionalTransformation2D transf, float x, float y, int[] x1, int[] y1)
public static void bitToBitmapPosition(RegionalTransformation2D transf, float x, float y, int[] x1, int[] y1)
Calculates a real position by use trensformation object (add “smart” round)
Parameters:
Parameter | Type | Description |
---|---|---|
transf | RegionalTransformation2D | trensformation object |
x | float | input X-coordinate |
y | float | input Y-coordinate |
x1 | int[] | calculated X-coordinate |
y1 | int[] | calculated Y-coordinate |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
flipByOrder(int[] valueFrom, int[] valueTo)
public static void flipByOrder(int[] valueFrom, int[] valueTo)
Orders two values
Parameters:
Parameter | Type | Description |
---|---|---|
valueFrom | int[] | first value |
valueTo | int[] | second value |
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class>
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |