Skip to content

Instantly share code, notes, and snippets.

@todorok1
Created February 21, 2025 05:29
Show Gist options
  • Save todorok1/81c06943464303f16251879224e5bde2 to your computer and use it in GitHub Desktop.
Save todorok1/81c06943464303f16251879224e5bde2 to your computer and use it in GitHub Desktop.
シンプルRPGチュートリアル第24回 キャラクターが魔法を覚えるレベルを定義するクラス
using System;
namespace SimpleRpg
{
/// <summary>
/// キャラクターが魔法を覚えるレベルを定義するクラスです。
/// </summary>
[Serializable]
public class CharacterMagicRecord
{
/// <summary>
/// 魔法を覚えるレベルの値です。
/// </summary>
public int level;
/// <summary>
/// 覚える魔法のIDです。
/// </summary>
public int magicId;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment