AxiosEngine-old 

AxiosEngine-old Commit Details


Date:2012-06-02 17:14:00 (12 years 6 months ago)
Author:Natalie Adams
Branch:default
Commit:9d0d0767a8cf
Parents: 1ed4c1409786
Message:Removing unneeded comments

Adding a check in Body class to make sure fixtures exist before executing code
Changes:
Maxios/Dynamics/Body.cs (1 diff)
Maxios/Engine/SimpleDrawableAxiosGameObject.cs (1 diff)

File differences

axios/Dynamics/Body.cs
827827
828828
829829
830
831
832
833
834
830835
831836
832837
/// <param name="angle">The angle.</param>
public void SetTransformIgnoreContacts(ref Vector2 position, float angle)
{
// Sometimes this is called with an empty Fixture list
// -- Nathan Adams [adamsna@datanethost.net] - 6/2/2012
if (FixtureList == null || FixtureList.Count == 0)
return;
Xf.R.Set(angle);
Xf.Position = position;
axios/Engine/SimpleDrawableAxiosGameObject.cs
3333
3434
3535
36
37
36
3837
3938
4039
4140
4241
43
44
45
4642
4743
4844
public override void LoadContent(AxiosGameScreen gameScreen)
{
base.LoadContent(gameScreen);
//this.Texture = new Texture2D(gameScreen.ScreenManager.GraphicsDevice, 1, 1);
}
public virtual void Draw(AxiosGameScreen gameScreen, GameTime gameTime)
{
/*#if DEBUG
System.Diagnostics.Debugger.Break();
#endif*/
if (_relativetocamera)
gameScreen.ScreenManager.SpriteBatch.Begin(0, null, null, null, null, null, gameScreen.Camera.View);
else

Archive Download the corresponding diff file

Page rendered in 0.44090s using 14 queries.