Skip to content

Instantly share code, notes, and snippets.

@todorok1
Created January 20, 2025 11:53
Show Gist options
  • Save todorok1/07e754004410d93ceba64cede51973ba to your computer and use it in GitHub Desktop.
Save todorok1/07e754004410d93ceba64cede51973ba to your computer and use it in GitHub Desktop.
シンプルRPGチュートリアル第13回 魔法の効果に関する設定を保持するクラス
using System;
namespace SimpleRpg
{
/// <summary>
/// 魔法の効果に関する設定を保持するクラスです。
/// </summary>
[Serializable]
public class MagicEffect
{
/// <summary>
/// 魔法のカテゴリです。
/// </summary>
public MagicCategory magicCategory;
/// <summary>
/// 魔法の効果範囲です。
/// </summary>
public MagicTarget magicTarget;
/// <summary>
/// 効果量です。
/// </summary>
public int value;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment