-using System;
+using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
{
base.Draw(spriteBatch);
- spriteBatch.Draw(Texture, Position, null, Color, Angle, Origin, 1f, SpriteEffects.None, 0f);
+ try {
+ spriteBatch.Draw(Texture, Position, null, Color, Angle, Origin, 1f, SpriteEffects.None, 0f);
+ } catch (ArgumentNullException) {
+ Console.WriteLine ("Where'd the texture go?.");
+ }
}
public override void CleanUp()