All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.deechael.khl.api.Game Maven / Gradle / Ivy

There is a newer version: 1.09.0
Show newest version
package net.deechael.khl.api;

public interface Game {

    int getId();

    String getName();

    Type getType();

    String getOptions();

    String[] getProcessName();

    String[] getProductName();

    String getIcon();

    enum Type {
        GAME(0),
        VUP(1),
        PROCESS(2);

        private final int type;

        Type(int type) {
            this.type = type;
        }

        public static Type valueOf(int type) {
            return switch (type) {
                case 1 -> VUP;
                case 2 -> PROCESS;
                default -> GAME;
            };
        }

        public int getType() {
            return type;
        }

    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy