From d5301b6d6cf40128300c324160468d12493748c2 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Mon, 17 Sep 2012 21:08:11 -0400 Subject: [PATCH] add Player::hover --- src/common/Player.cc | 1 + src/common/Player.h | 1 + 2 files changed, 2 insertions(+) diff --git a/src/common/Player.cc b/src/common/Player.cc index cd45548..c9467fc 100644 --- a/src/common/Player.cc +++ b/src/common/Player.cc @@ -6,4 +6,5 @@ Player::Player() x = 0.0; y = 0.0; direction = 0.0; + hover = 1.0; } diff --git a/src/common/Player.h b/src/common/Player.h index 2fca3e3..6f662a7 100644 --- a/src/common/Player.h +++ b/src/common/Player.h @@ -11,6 +11,7 @@ class Player double x; double y; double direction; /* 0 = East, M_PI_2 = North, M_PI = West, ... */ + double hover; Player(); };