52ky 发表于 2022-10-28 20:11:48

Android游戏源代码《2D迷你桌球》附详细注释

floatx;//左上角方位floaty;floatrotateX;//旋转核心点floatrotateY;privatefloatangdeg=0;//旋转观点floatwidth;//球杆宽度floatheight;//球杆高度floatdisWithBall=Constant.DIS_WITH_BALL;//球杆与母球边际的距离Bitmapbitmap;//位图BallmainBall;//母球privatebooleanshowCueFlag=true;//是否显示球杆的象征privatefinalfloatangleSpanSlow=0.2f;//微调观点步进privatefinalfloatangleSpanFast=1f;//粗调观点步进privatebooleanaimFlag=true;privatefinalfloatlineLength=Table.tableAreaWidth;//瞄准线的长度
Billiard_2D\bin\com\bn\d2\bill\AboutView.class
Billiard_2D\bin\com\bn\d2\bill\Ball.class
Billiard_2D\bin\com\bn\d2\bill\BallGoThread.class
Billiard_2D\bin\com\bn\d2\bill\ChoiceView$DrawThread.class
Billiard_2D\bin\com\bn\d2\bill\ChoiceView.class
Billiard_2D\bin\com\bn\d2\bill\CollisionUtil.class
Billiard_2D\bin\com\bn\d2\bill\ColorUtil.class
Billiard_2D\bin\com\bn\d2\bill\Constant.class
Billiard_2D\bin\com\bn\d2\bill\Cue.class
Billiard_2D\bin\com\bn\d2\bill\CueAnimateThread.class
Billiard_2D\bin\com\bn\d2\bill\DateUtil.class
Billiard_2D\bin\com\bn\d2\bill\FailSurfaceView$1.class
Billiard_2D\bin\com\bn\d2\bill\FailSurfaceView.class
Billiard_2D\bin\com\bn\d2\bill\FailView$1.class
Billiard_2D\bin\com\bn\d2\bill\FailView.class
Billiard_2D\bin\com\bn\d2\bill\GameActivity$1.class
Billiard_2D\bin\com\bn\d2\bill\GameActivity.class
Billiard_2D\bin\com\bn\d2\bill\GameView.class
Billiard_2D\bin\com\bn\d2\bill\GameViewDrawThread.class
Billiard_2D\bin\com\bn\d2\bill\HelpView.class
Billiard_2D\bin\com\bn\d2\bill\HighScoreView$DrawThread.class
Billiard_2D\bin\com\bn\d2\bill\HighScoreView.class
Billiard_2D\bin\com\bn\d2\bill\KeyThread.class
Billiard_2D\bin\com\bn\d2\bill\MainMenuView.class
Billiard_2D\bin\com\bn\d2\bill\PicLoadUtil.class
Billiard_2D\bin\com\bn\d2\bill\R$attr.class
Billiard_2D\bin\com\bn\d2\bill\R$drawable.class
Billiard_2D\bin\com\bn\d2\bill\R$layout.class
Billiard_2D\bin\com\bn\d2\bill\R$raw.class
Billiard_2D\bin\com\bn\d2\bill\R$string.class

(floatx;// Azimuth of upper left corner floaty; floatrotateX;// Rotate the core point floatrotateY; privatefloatangdeg=0;// Rotated viewpoint floatwidth// Club width floatheight// Club height floatdisWithBall=Constant DIS_ WITH_ BALL;// The distance between the cue stick and the edge of the cue ball Bitmapbitmap// Bitmap BallmainBall// PrivatepoolshowCueFlag=true// Whether to display the symbol of the club privatefinalfloatangleSpanSlow=0.2f// Step by step of fine-tuning opinion privatefinalfloatangleSpanFast=1f// Roughly adjust the opinion step privatebooleanaimFlag=true; privatefinalfloatlineLength=Table.tableAreaWidth;// Length of sight line
Billiard_ 2D\bin\com\bn\d2\bill\AboutView.class
Billiard_ 2D\bin\com\bn\d2\bill\Ball.class
Billiard_ 2D\bin\com\bn\d2\bill\BallGoThread.class
Billiard_ 2D\bin\com\bn\d2\bill\ChoiceView$DrawThread.class
Billiard_ 2D\bin\com\bn\d2\bill\ChoiceView.class
Billiard_ 2D\bin\com\bn\d2\bill\CollisionUtil.class
Billiard_ 2D\bin\com\bn\d2\bill\ColorUtil.class
Billiard_ 2D\bin\com\bn\d2\bill\Constant.class
Billiard_ 2D\bin\com\bn\d2\bill\Cue.class
Billiard_ 2D\bin\com\bn\d2\bill\CueAnimateThread.class
Billiard_ 2D\bin\com\bn\d2\bill\DateUtil.class
Billiard_ 2D\bin\com\bn\d2\bill\FailSurfaceView$1.class
Billiard_ 2D\bin\com\bn\d2\bill\FailSurfaceView.class
Billiard_ 2D\bin\com\bn\d2\bill\FailView$1.class
Billiard_ 2D\bin\com\bn\d2\bill\FailView.class
Billiard_ 2D\bin\com\bn\d2\bill\GameActivity$1.class
Billiard_ 2D\bin\com\bn\d2\bill\GameActivity.class
Billiard_ 2D\bin\com\bn\d2\bill\GameView.class
Billiard_ 2D\bin\com\bn\d2\bill\GameViewDrawThread.class
Billiard_ 2D\bin\com\bn\d2\bill\HelpView.class
Billiard_ 2D\bin\com\bn\d2\bill\HighScoreView$DrawThread.class
Billiard_ 2D\bin\com\bn\d2\bill\HighScoreView.class
Billiard_ 2D\bin\com\bn\d2\bill\KeyThread.class
Billiard_ 2D\bin\com\bn\d2\bill\MainMenuView.class
Billiard_ 2D\bin\com\bn\d2\bill\PicLoadUtil.class
Billiard_ 2D\bin\com\bn\d2\bill\R$attr.class
Billiard_ 2D\bin\com\bn\d2\bill\R$drawable.class
Billiard_ 2D\bin\com\bn\d2\bill\R$layout.class
Billiard_ 2D\bin\com\bn\d2\bill\R$raw.class
Billiard_ 2D\bin\com\bn\d2\bill\R$string.class)




页: [1]
查看完整版本: Android游戏源代码《2D迷你桌球》附详细注释