Extending help

Discussion in 'Plugin Development' started by Jackson12, Jul 12, 2015.

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

    Jackson12

    Hey, I need help with a small issue, How would i go about extending two things like this,
    Code:
    public class DeathEffect extends JavaPlugin, de.slikey.effectlib.Effect{
     
    Orange Tabby likes this.
  2. Offline

    ShadowLAX

    @Jackson12 You can only have one superclass as that is how Java was coded.
     
  3. Offline

    Jackson12

    @ShadowLAX ok thanks

    Can i please get an example of how i could do this?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 12, 2016
  4. Offline

    SuperOriginal

    Have a separate class, or look into interfaces.
     
  5. Offline

    Jackson12

    Ok, Ill give ita try
     
Thread Status:
Not open for further replies.

Share This Page