Separate Classes for Events???

Discussion in 'Plugin Development' started by vhbob, Nov 22, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    vhbob

    Hello, i have used Bukkit for coding in the past and i always put my events in my main class. But now as i come back to Bukkit to code i see that many people are using separate classes for everything, its this needed or just there way or sorting things???
     
  2. Offline

    Skify

    @vhbob It's optional, I personally like to sort everything out. Just implement listener.
     
  3. Offline

    vhbob

  4. Offline

    sgavster

    As @Skify said, it's optional. It really just makes your code look a lot better, and with a bigger plugin it makes it a lot easier to navigate.
     
Thread Status:
Not open for further replies.

Share This Page