RuneHive-Game
Loading...
Searching...
No Matches
ParallelPlayerPreUpdateTask.java
Go to the documentation of this file.
1package com.runehive.game.engine.sync.task;
2
3import com.runehive.game.world.entity.mob.player.Player;
4import com.runehive.net.session.GameSession;
5import org.apache.logging.log4j.LogManager;
6import org.apache.logging.log4j.Logger;
7
9
10 private static final Logger logger = LogManager.getLogger(ParallelPlayerPreUpdateTask.class);
11
12 private final Player player;
13
15 this.player = player;
16 }
17
18 @Override
19 public void run() {
20 try {
21
22 } catch (Exception ex) {
23 logger.error(String.format("Error in %s. player=%s", PlayerPreUpdateTask.class.getSimpleName(), player), ex);
24 }
25 }
26
27}
This class represents a character controlled by a player.
Definition Player.java:125