Ejemplo n.º 1
0
 /// <summary>
 /// use for update movement and other
 /// </summary>
 public void Update(Map _map, SpriteBatch spriteBatch)
 {
     // movement
     player.KeyInput();
     player.Update(_map, spriteBatch);
     player.Animation();
     inventory.Update();
     status.Update();
     //// equipment
     //player.Weapon = Weapon;
     //player.Shield = Shield;
     //player.Armor = Armor;
     //player.Pant = Pant;
     //player.Shoe = Shoe;
     //player.Hat = Hat;
     //player.Acc = Acc;
     //player.Glove = Glove;
     //player.Cape = Cape;
     // body gadget
     player.Skin = Skin;
     player.Face = Face;
     player.Hair = Hair;
     //// other
     player.WeaponType = WeaponType;
     //// check attack time count
     //player.CheckAttacktimecount();
 }