Delete BjornGraphicsComponent.java

This commit is contained in:
YanchaoMiao 2020-05-24 18:57:28 +08:00 committed by Ilkka Seppälä
parent c78d5a3220
commit fc75edc7ca
No known key found for this signature in database
GPG Key ID: 31B7C8F5CC412ECB

View File

@ -1,25 +0,0 @@
package com.iluwater.component;
import static org.slf4j.LoggerFactory.getLogger;
import org.slf4j.Logger;
/**
* BjornGraphicsComponent is a class for our main game star
* This class creat a Graphics component for Bjorn.
*/
public class BjornGraphicsComponent implements GraphicsComponent {
private static final Logger LOGGER = getLogger(BjornGraphicsComponent.class);
/**
* This method is a logger for Bjorn when happens a Graphics update.
* In real scenario, there will be code for Graphics Update.
*
* @param gameObject is a object in the game, here it is Bjorn
*/
@Override
public void update(GameObject gameObject) {
LOGGER.info("positive:" + gameObject.getPositionOFx() + "," + gameObject.getPositionOFy());
}
}