HyCodeYourTale
interfacepublicPriority 3

Shape2D

com.hypixel.hytale.math.shape.Shape2D

0

Methods

0

Public Methods

0

Fields

0

Constructors

Related Classes

Used By

Source Code

package com.hypixel.hytale.math.shape;

import com.hypixel.hytale.math.vector.Vector2d;
import javax.annotation.Nonnull;

public interface Shape2D {
   default Box2D getBox(@Nonnull Vector2d position) {
      return this.getBox(position.getX(), position.getY());
   }

   Box2D getBox(double var1, double var3);

   boolean containsPosition(Vector2d var1, Vector2d var2);

   boolean containsPosition(Vector2d var1, double var2, double var4);
}