+ * - Adding a behavior in AxiosGameScreen where the camera will be controllable via

+ * arrow keys in DEBUG releases and disabled in RELEASE releases. This behavior can
+ * be overwritten in each screen
+ * - Adding output to tcc console command to signal if it was disabled/enabled
+ * - Adding DegreeToRadian/RadianToDegree double extensions
This commit is contained in:
Nathan Adams 2012-06-16 17:30:09 -05:00
parent c06ea52478
commit 575f1523a2
5 changed files with 9 additions and 0 deletions

View File

@ -169,6 +169,7 @@
<Compile Include="Engine\DrawableBreakableAxiosGameObject.cs" />
<Compile Include="Engine\Extensions\Bitmap.cs" />
<Compile Include="Engine\Extensions\Contact.cs" />
<Compile Include="Engine\Extensions\Double.cs" />
<Compile Include="Engine\Extensions\InputState.cs" />
<Compile Include="Engine\Extensions\String.cs" />
<Compile Include="Engine\Extensions\Texture2D.cs" />

View File

@ -213,6 +213,7 @@
<Compile Include="Engine\Extensions\Bitmap.cs" />
<Compile Include="Engine\Extensions\Contact.cs" />
<Compile Include="Engine\Extensions\InputState.cs" />
<Compile Include="Engine\Extensions\Double.cs" />
<Compile Include="Engine\Extensions\String.cs" />
<Compile Include="Engine\Extensions\Texture2D.cs" />
<Compile Include="Engine\File\AxiosFile.cs" />

View File

@ -162,6 +162,7 @@
<Compile Include="Engine\DrawableBreakableAxiosGameObject.cs" />
<Compile Include="Engine\Extensions\Bitmap.cs" />
<Compile Include="Engine\Extensions\Contact.cs" />
<Compile Include="Engine\Extensions\Double.cs" />
<Compile Include="Engine\Extensions\InputState.cs" />
<Compile Include="Engine\Extensions\String.cs" />
<Compile Include="Engine\Extensions\Texture2D.cs" />

View File

@ -100,6 +100,11 @@
* - Adding rotation to DrawableAxiosGameObject
* - Adding InputState extensions to test for input agaisnt Player One
* - Adding the ability to disable commands in XNACC from AxiosCommandConsole
* - Adding a behavior in AxiosGameScreen where the camera will be controllable via
* arrow keys in DEBUG releases and disabled in RELEASE releases. This behavior can
* be overwritten in each screen
* - Adding output to tcc console command to signal if it was disabled/enabled
* - Adding DegreeToRadian/RadianToDegree double extensions
*
*
*/

View File

@ -57,6 +57,7 @@ namespace Axios.Engine
public void ToggleCamera()
{
AddOutputToLog("Camera user control was: " + ((GameScreen.EnableCameraControl) ? "Disabled" : "Enabled"));
GameScreen.EnableCameraControl = !GameScreen.EnableCameraControl;
}