HyCodeYourTale
classpublicPriority 3

Range

com.hypixel.hytale.math.Range

3

Methods

3

Public Methods

2

Fields

2

Constructors

Constructors

public
Range()
public
Range(float min, float max)

Methods

Public Methods (3)

public
float getMax()
public
float getMin()
public
String toString()
@Nonnull@Override

Fields

Private/Package Fields (2)

privatefloat max
privatefloat min

Source Code

package com.hypixel.hytale.math;

import javax.annotation.Nonnull;

public class Range {
   private float min;
   private float max;

   public Range() {
   }

   public Range(float min, float max) {
      this.min = min;
      this.max = max;
   }

   public float getMin() {
      return this.min;
   }

   public float getMax() {
      return this.max;
   }

   @Nonnull
   @Override
   public String toString() {
      return "Range{min=" + this.min + ", max='" + this.max + "'}";
   }
}