mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-15 10:58:51 +00:00
deps: Refactor dependencies (#3224)
* remove spring dep move junit, logging, mockito under dep mgmt * upgrade anti-corruption-layer deps * async method invocation * balking, bloc * bridge to bytecode * caching * callback - cqrs * component - health check * hexagonal - metadata mapping * rest of the patterns * remove checkstyle, take spotless into use
This commit is contained in:
@@ -27,20 +27,19 @@ package com.iluwatar.gameloop;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
/**
|
||||
* A game loop runs continuously during gameplay. Each turn of the loop, it processes
|
||||
* user input without blocking, updates the game state, and renders the game. It tracks
|
||||
* the passage of time to control the rate of gameplay.
|
||||
* A game loop runs continuously during gameplay. Each turn of the loop, it processes user input
|
||||
* without blocking, updates the game state, and renders the game. It tracks the passage of time to
|
||||
* control the rate of gameplay.
|
||||
*/
|
||||
@Slf4j
|
||||
public class App {
|
||||
|
||||
/**
|
||||
* Each type of game loop will run for 2 seconds.
|
||||
*/
|
||||
/** Each type of game loop will run for 2 seconds. */
|
||||
private static final int GAME_LOOP_DURATION_TIME = 2000;
|
||||
|
||||
/**
|
||||
* Program entry point.
|
||||
*
|
||||
* @param args runtime arguments
|
||||
*/
|
||||
public static void main(String[] args) {
|
||||
@@ -71,5 +70,4 @@ public class App {
|
||||
LOGGER.error(e.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user