public interface GameImage{ Bitmap getBitmap(); int getX(); int getY(); void drawFrame(Canvas canvas); void runLogic();}
public interface GameMgr{ void drawFrame(Canvas canvas); void runLogic(); void add(int x, int y); void remove(GameObj gameObj); ArrayList getArrayList();}
作者: 一个吃货帅锅