remove TODO
GitOrigin-RevId: 91ae9789334d2e1096a2a75cde49e8e48472d8f6
This commit is contained in:
parent
f0630d1679
commit
710d1042ab
@ -13,7 +13,6 @@ namespace SemiColinGames {
|
|||||||
|
|
||||||
public void Update(GameTime time, Point player) {
|
public void Update(GameTime time, Point player) {
|
||||||
int diff = player.X - bbox.Center.X;
|
int diff = player.X - bbox.Center.X;
|
||||||
// TODO: use the actual center of the player's bbox.
|
|
||||||
if (Math.Abs(diff) > 16) {
|
if (Math.Abs(diff) > 16) {
|
||||||
bbox.Offset((int) (diff * 0.1), 0);
|
bbox.Offset((int) (diff * 0.1), 0);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user