(/
The Ball class is a thread class inherited from the Thread class. Its primary function is to encapsulate football related information, such as coordinate point, direction, moving speed, etc.
Secondly, this class also serves as the orientation of the mobile football and carries out collision detection. These functions are mainly realized through the run method. There are two main methods in the run method
Move and checkCollision, the former serves as the direction of moving the football according to the direction of the football (one of 16). The latter is about collision detection
Whether football meets AI or players, whether it meets gaps, whether it meets some Bonuses, such as frozen balls, etc. This class also has a drawSelf method,
About calling in the myDraw method of the game View to create your own.
/publicclassBallextendsThread{...}----------------------------------------------------------------------/
This class is the parent class of the comprehensive Bonus. It mainly provides some public members or methods. A Bonus class mainly includes
Self production part, production after triggering, self life cycle timing, life cycle timing after triggering, and background after triggering
Data repair and recovery of background data after the end of life cycle.
/publicabstractclassBonus{...}
ginikeer\CrazyFootball\bin\wyf\wpf\AIThread.class
ginikeer\CrazyFootball\bin\wyf\wpf\Ball.class
ginikeer\CrazyFootball\bin\wyf\wpf\Bonus$1.class
ginikeer\CrazyFootball\bin\wyf\wpf\Bonus$2.class
ginikeer\CrazyFootball\bin\wyf\wpf\Bonus.class
ginikeer\CrazyFootball\bin\wyf\wpf\BonusManager.class
ginikeer\CrazyFootball\bin\wyf\wpf\CustomGallery.class
ginikeer\CrazyFootball\bin\wyf\wpf\DrawThread.class
ginikeer\CrazyFootball\bin\wyf\wpf\FootballActivity$1.class
ginikeer\CrazyFootball\bin\wyf\wpf\FootballActivity.class
ginikeer\CrazyFootball\bin\wyf\wpf\GameView.class
ginikeer\CrazyFootball\bin\wyf\wpf\IceBonus.class
ginikeer\CrazyFootball\bin\wyf\wpf\LargerGoalBonus.class
ginikeer\CrazyFootball\bin\wyf\wpf\LoadingDrawThread.class
ginikeer\CrazyFootball\bin\wyf\wpf\LoadingView.class
ginikeer\CrazyFootball\bin\wyf\wpf\Player.class
ginikeer\CrazyFootball\bin\wyf\wpf\PlayerMoveThread.class
ginikeer\CrazyFootball\bin\wyf\wpf\R$anim.class
ginikeer\CrazyFootball\bin\wyf\wpf\R$attr.class
ginikeer\CrazyFootball\bin\wyf\wpf\R$drawable.class
ginikeer\CrazyFootball\bin\wyf\wpf\R$id.class
ginikeer\CrazyFootball\bin\wyf\wpf\R$layout.class
ginikeer\CrazyFootball\bin\wyf\wpf\R$raw.class
ginikeer\CrazyFootball\bin\wyf\wpf\R$string.class
ginikeer\CrazyFootball\bin\wyf\wpf\R$styleable.class
ginikeer\CrazyFootball\bin\wyf\wpf\R.class
ginikeer\CrazyFootball\bin\wyf\wpf\WelcomeDrawThread.class
ginikeer\CrazyFootball\bin\wyf\wpf\WelcomeThread.class
ginikeer\CrazyFootball\bin\wyf\wpf\WelcomeView.class
ginikeer\CrazyFootball\bin\classes.dex)