More plugin customization / Renamed Rectangle
This commit is contained in:
@@ -343,7 +343,7 @@ public interface BuilderTrait extends Entity, TeamTrait{
|
||||
return this;
|
||||
}
|
||||
|
||||
public Rectangle bounds(Rectangle rect){
|
||||
public Rect bounds(Rect rect){
|
||||
if(breaking){
|
||||
return rect.set(-100f, -100f, 0f, 0f);
|
||||
}else{
|
||||
|
||||
@@ -7,9 +7,9 @@ import mindustry.Vars;
|
||||
|
||||
public interface SolidTrait extends QuadTreeObject, MoveTrait, VelocityTrait, Entity, Position{
|
||||
|
||||
void hitbox(Rectangle rectangle);
|
||||
void hitbox(Rect rect);
|
||||
|
||||
void hitboxTile(Rectangle rectangle);
|
||||
void hitboxTile(Rect rect);
|
||||
|
||||
Vec2 lastPosition();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user