/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package net.kirauks.minigames.engine.utils;

import javafx.scene.input.KeyCode;

/**
 *
 * @author Karl
 */
public class Options {
    public Options(){}
    
    public KeyCode getUpKey(){
        return KeyCode.UP;
    }
    public KeyCode getDownKey(){
        return KeyCode.DOWN;
    }
    public KeyCode getLeftKey(){
        return KeyCode.LEFT;
    }
    public KeyCode getRightKey(){
        return KeyCode.RIGHT;
    }
    public KeyCode getActionKey(){
        return KeyCode.SPACE;
    }
    public KeyCode getPauseKey(){
        return KeyCode.ESCAPE;
    }
}

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package net.kirauks.minigames.engine.utils;

import javafx.scene.input.KeyCode;

/**
 *
 * @author Karl
 */
public class Options {
    public static KeyCode getUpKey(){
        return KeyCode.UP;
    }
    public static KeyCode getDownKey(){
        return KeyCode.DOWN;
    }
    public static KeyCode getLeftKey(){
        return KeyCode.LEFT;
    }
    public static KeyCode getRightKey(){
        return KeyCode.RIGHT;
    }
    public static KeyCode getActionKey(){
        return KeyCode.SPACE;
    }
    public static KeyCode getPauseKey(){
        return KeyCode.ESCAPE;
    }
}

Use static methods for options