// Path: src/main/java/com/pesegato/goldmonkey/Animation.java
// public class Animation {
//     public String id;
//     public int[] frames;
//     public int centerX;
//     public int centerY;
//     public Animation(String id, int[] frames, int centerX, int centerY){
//         this.id=id;
//         this.frames=frames;
//         this.centerX=centerX;
//         this.centerY=centerY;
//     }
// }
// 
// Path: src/main/java/com/pesegato/goldmonkey/Container.java
// public class Container {
//     public String id;
//     public int size;
//     public Container(String id, int size){
//         this.id=id;
//         this.size=size;
//     }
// }
// 
// Path: src/main/java/com/pesegato/timing/SimpleTimeable.java
// public class SimpleTimeable implements Timeable{
//     @Override
//     public float getClockspeed() {
//         return 1;
//     }
// }
// 
// Path: src/main/java/com/pesegato/timing/Timeable.java
// public interface Timeable {
//     /**
//      *
//      * Implement this interface to have configurable timing.
//      *
//      * Time factor:
//      * 0: time stops
//      * 1: time runs normally
//      * &lt;1: time is faster
//      * &gt;1: time is slower
//      *
//      * @return time factor
//      */
//     float getClockspeed();
// }


import com.google.common.base.Charsets;
import com.google.common.io.Resources;
import com.google.gson.Gson;
import com.jme3.app.Application;
import com.jme3.app.state.BaseAppState;
import com.pesegato.goldmonkey.Animation;
import com.pesegato.goldmonkey.Container;
import com.pesegato.goldmonkey.GM;
import com.pesegato.timing.SimpleTimeable;
import com.pesegato.timing.Timeable;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.FileNotFoundException;
import java.util.HashMap;
/*
 * 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 com.pesegato.MonkeySheet;



/**
 *
 * @author Pesegato
 */
public class MonkeySheetAppState extends BaseAppState {

    static Logger log = LoggerFactory.getLogger( MonkeySheetAppState.class );

    private static float tickDuration=0.025f;
    public static float tTPF = 0;
    public static Timeable timeable=new SimpleTimeable();

    @Override
    protected void initialize(Application app) {
        getStateManager().attach(new MSTimerAppState());
        logBuildInfo();
    }

    static HashMap<String, MTween> anis = new HashMap<>();

    public static MTween getAnim(String name){
// Path: src/main/java/com/pesegato/goldmonkey/Animation.java
// public class Animation {
//     public String id;
//     public int[] frames;
//     public int centerX;
//     public int centerY;
//     public Animation(String id, int[] frames, int centerX, int centerY){
//         this.id=id;
//         this.frames=frames;
//         this.centerX=centerX;
//         this.centerY=centerY;
//     }
// }
// 
// Path: src/main/java/com/pesegato/goldmonkey/Container.java
// public class Container {
//     public String id;
//     public int size;
//     public Container(String id, int size){
//         this.id=id;
//         this.size=size;
//     }
// }
// 
// Path: src/main/java/com/pesegato/timing/SimpleTimeable.java
// public class SimpleTimeable implements Timeable{
//     @Override
//     public float getClockspeed() {
//         return 1;
//     }
// }
// 
// Path: src/main/java/com/pesegato/timing/Timeable.java
// public interface Timeable {
//     /**
//      *
//      * Implement this interface to have configurable timing.
//      *
//      * Time factor:
//      * 0: time stops
//      * 1: time runs normally
//      * &lt;1: time is faster
//      * &gt;1: time is slower
//      *
//      * @return time factor
//      */
//     float getClockspeed();
// }


// Path: src/main/java/com/pesegato/MonkeySheet/MonkeySheetAppState.java
import com.google.common.base.Charsets;
import com.google.common.io.Resources;
import com.google.gson.Gson;
import com.jme3.app.Application;
import com.jme3.app.state.BaseAppState;
import com.pesegato.goldmonkey.Animation;
import com.pesegato.goldmonkey.Container;
import com.pesegato.goldmonkey.GM;
import com.pesegato.timing.SimpleTimeable;
import com.pesegato.timing.Timeable;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.FileNotFoundException;
import java.util.HashMap;

/*
 * 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 com.pesegato.MonkeySheet;



/**
 *
 * @author Pesegato
 */
public class MonkeySheetAppState extends BaseAppState {

    static Logger log = LoggerFactory.getLogger( MonkeySheetAppState.class );

    private static float tickDuration=0.025f;
    public static float tTPF = 0;
    public static Timeable timeable=new SimpleTimeable();

    @Override
    protected void initialize(Application app) {
        getStateManager().attach(new MSTimerAppState());
        logBuildInfo();
    }

    static HashMap<String, MTween> anis = new HashMap<>();

    public static MTween getAnim(String name){
        return anis.get(name);