Add getAlphaCounts() to Radioactive interface

This commit is contained in:
Khalid Ali 2020-09-16 20:37:18 -04:00
parent 72ea92ffb3
commit a3c4c33300

View File

@ -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));
}
}