]> git.lizzy.rs Git - BoundingBoxOutlineReloaded.git/blob - src/main/java/com/irtimaled/bbor/client/models/BoundingBoxSpawningSphere.java
Change Sphere center to use Point not Coords and Offsets
[BoundingBoxOutlineReloaded.git] / src / main / java / com / irtimaled / bbor / client / models / BoundingBoxSpawningSphere.java
1 package com.irtimaled.bbor.client.models;
2
3 import com.irtimaled.bbor.common.BoundingBoxType;
4 import com.irtimaled.bbor.common.models.BoundingBoxSphere;
5 import com.irtimaled.bbor.common.models.Point;
6
7 public class BoundingBoxSpawningSphere extends BoundingBoxSphere {
8     public static final int SAFE_RADIUS = 24;
9     public static final int SPAWN_RADIUS = 128;
10
11     private Integer spawnableCount;
12
13     public BoundingBoxSpawningSphere(Point point) {
14         super(point, SPAWN_RADIUS, BoundingBoxType.AFKSphere);
15     }
16
17     public void setSpawnableCount(int count) {
18         this.spawnableCount = count;
19     }
20
21     public Integer getSpawnableSpacesCount() {
22         return this.spawnableCount;
23     }
24 }