Class MathLib

java.lang.Object
se.krka.kahlua.j2se.MathLib
All Implemented Interfaces:
JavaFunction

public class MathLib extends Object implements JavaFunction
  • Constructor Details

    • MathLib

      public MathLib(int int1)
  • Method Details

    • register

      public static void register(Platform platform, KahluaTable kahluaTable)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • call

      public int call(LuaCallFrame luaCallFrame, int int1)
      Specified by:
      call in interface JavaFunction
    • isNegative

      public static boolean isNegative(double double1)
    • round

      public static double round(double double1)