mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-12-19 17:44:54 +00:00
Add getAlphaCounts() to Radioactive interface
This commit is contained in:
@@ -6,5 +6,7 @@ package net.simon987.server.game.objects;
|
|||||||
|
|
||||||
public interface Radioactive {
|
public interface Radioactive {
|
||||||
|
|
||||||
|
public static int getAlphaCounts(double distance) {
|
||||||
|
return (int) (1000 * 1.0 / (distance * distance));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user