Subversion Repositories AndroidProjects

Rev

Blame | Last modification | View Log | RSS feed

package com.gebauz.burutaru.game.level;

public abstract class BaseCommand
{

        // Constants========================================================================================

        // Embedded Types===================================================================================

        // Fields===========================================================================================
       
        protected Level mLevel = null;
        protected float mAtTime = -1.0f;

        // Methods==========================================================================================

        public BaseCommand(Level level, float atTime)
        {
                mLevel = level;
                mAtTime = atTime;
        }
       
        /** Load files asynchronously. */
        public void initAsync() {}
       
        /** Load files synchronously. */
        public abstract void init();
       
        // Getters/Setters==================================================================================
       
        public final Level getLevel() { return mLevel; }
        public final float getAtTime() { return mAtTime; }

}