Example #1
0
 public override void Load()
 {
     animate.Load();
     SpriteRectangle = new Rectangle(xy.X, xy.Y, animate.Texture.Width / animate.Columns, animate.Texture.Height / animate.Rows);
     ObjectMapper.AddSpriteObject(this);
 }