Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
N
nmo-football
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to JiHu GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AWang05
nmo-football
Merge requests
!1
添加设置数据的接口
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
添加设置数据的接口
AWang05/ballgame:charge
into
charge
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
AWang05
requested to merge
AWang05/ballgame:charge
into
charge
5 months ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Compare
charge
charge (base)
and
latest version
latest version
73345443
1 commit,
5 months ago
1 file
+
18
−
4
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
src/main/java/org/awang05/ballGame/controller/ChargeController.java
+
18
−
4
Options
@@ -5,10 +5,24 @@ import org.bukkit.plugin.Plugin;
import
org.bukkit.scheduler.BukkitRunnable
;
public
class
ChargeController
{
private
static
final
float
min
=
0.6
F
;
private
static
final
float
max
=
3.6
F
;
private
static
final
float
dx
=
0.1
F
;
private
static
final
int
pause
=
10
;
private
static
float
min
=
0.6
F
;
private
static
float
max
=
3.6
F
;
private
static
float
dx
=
0.1
F
;
private
static
int
pause
=
10
;
public
static
void
setMin
(
float
min
){
ChargeController
.
min
=
min
;
}
public
static
void
setMax
(
float
max
){
ChargeController
.
max
=
max
;
}
public
static
void
setDx
(
float
dx
){
ChargeController
.
dx
=
dx
;
}
public
static
void
setPause
(
int
pause
){
ChargeController
.
pause
=
pause
;
}
private
float
ad
=-
dx
;
private
float
x
=-
1
F
;
Loading