Back to project page android-jplay.
The source code is released under:
Copyright (c) Nikolaj Baer All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. ...
If you think the Android project android-jplay listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.nikolajbaer.game.players; //from www . j av a 2 s . c o m /* java */ import java.lang.Math; /* local */ import com.nikolajbaer.game.objects.*; public abstract class GamePlayer { protected PlayerObject m_playerObject; // TODO make sure to stop the tick when game player is destroyed public GamePlayer(PlayerObject go){ m_playerObject=go; } public abstract void tick(); public GameObject getGameObject(){ return m_playerObject; } }