Development Assistance Accesing methods without static

Discussion in 'Plugin Help/Development/Requests' started by quinster08, Jul 6, 2015.

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

    quinster08

    Hello!

    I have this method for example:
    Code:
        public void start() {
            setState(GameState.INGAME);
        }
    What would be the best method to acces this method from another class without making it static?
     
  2. the way would be to have an instance of that class, and call it from the instance
     
    Destroyer7712 likes this.
Thread Status:
Not open for further replies.

Share This Page