/// <summary> /// Send Integer Value By User DB /// </summary> /// <param name="command">[currentGold, GoldUpdate, totalGold, stageCount, enemyCreate]</param> /// <param name="sendParam">Integer Value</param> public void sendIntCmd(string command, int sendParam) { switch (command) { case "EnemyCreate": DB.RespawnEnemy(); break; case "GoldUpdate": DB.GoldUpdate(sendParam); break; case "totalGold": DB.AddGoldAmount(sendParam); break; case "stageCount": //DB.StageUpdate(sendParam); break; case "GameStart": DB.GameStart(); break; case "GameEnd": DB.PlayerDie(); break; } }