axiosengine 

axiosengine Commit Details


Date:2012-06-02 17:14:16 (12 years 4 months ago)
Author:Natalie Adams
Branch:master
Commit:60a106a27c4a260ab6625d8da0dbc6864a616d72
Parents: 14cbefc6ef8f93a321dc3e16682e75bfe6489231
Message:Removing unneeded comments Adding a check in Body class to make sure fixtures exist before executing code

Changes:

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

Branches

Number of commits:
Page rendered in 0.06655s using 14 queries.