mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-04-10 14:26:45 +00:00
Add getAlphaCounts() to Radioactive interface
This commit is contained in:
parent
72ea92ffb3
commit
a3c4c33300
@ -6,5 +6,7 @@ package net.simon987.server.game.objects;
|
||||
|
||||
public interface Radioactive {
|
||||
|
||||
|
||||
public static int getAlphaCounts(double distance) {
|
||||
return (int) (1000 * 1.0 / (distance * distance));
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user