Skip to content
GitLab
Explore
Sign in
Group 5
Group 5 - Lesson 9
Wiki
Home
Home
· Changes
Page history
jrt92 created page: home
authored
May 19, 2015
by
Daniel Vestergaard
Hide whitespace changes
Inline
Side-by-side
home.markdown
View page @
8ad17622
...
@@ -367,7 +367,8 @@ public int takeControl() {
...
@@ -367,7 +367,8 @@ public int takeControl() {
}
}
…
…
private void roll() {
private void roll() {
takeControl = System.currentTimeMillis() + MIN_DELAY + random.nextInt(MAX_DELAY - MIN_DELAY);
takeControl = System.currentTimeMillis() + MIN_DELAY
+ random.nextInt(MAX_DELAY - MIN_DELAY);
}
}
...
...
public void action() {
public void action() {
...
...