Importing from other classes

Discussion in 'Spigot Plugin Development' started by Creatos137, Apr 24, 2017.

  1. WAS

    WAS

    Import the class, and than instantiate it
    Code (Text):
    Knight knight = new Knight()
    and you can call your methods.
    Code (Text):
    knight.beginnerSword()
     
  2. Thank you very much! This helped!
     
    • Like Like x 1