Back to project page DolphinOES.
The source code is released under:
Apache License
If you think the Android project DolphinOES listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
/******************************************************************************* * Copyright 2015 See AUTHORS file./* w ww . j av a2s .c om*/ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. ******************************************************************************/ package com.sidereal.dolphinoes.architecture; import com.badlogic.gdx.Gdx; import com.sidereal.dolphinoes.architecture.core.DolphinOESConfiguration; import com.sidereal.dolphinoes.architecture.core.input.Input; /** Contains Functionality that can be used throughout the entire framework. * <p> * Certain instances of {@link GameBehavior} do not work if a particular {@link Module} * cannot be found. Modules objects can be passed before the {@link DolphinOES} is created * using {@link DolphinOESConfiguration#addModule(Module)}. * * @author Claudiu Bele * */ public interface Module { /** Method called after {@link Gdx} is initialized. The constructor should only be used for setting parameters. */ public void create(); /** Updates the module. Certain modules may not need to use this functionality, but some, * such as {@link Input} require updating, so providing this functionality is rather easy * */ public void update(); }