<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>uni-mal</author_name>
  <author_url>https://blog.hatena.ne.jp/uni-mal/</author_url>
  <blog_title>Unityでインディゲームを作る！</blog_title>
  <blog_url>https://indie-game-creation-with-unity.hatenablog.com/</blog_url>
  <categories>
    <anon>プログラミング</anon>
    <anon>UnityのためのC#</anon>
  </categories>
  <description>人間にとって、意味のない識別番号を読みやすく、理解しやすくするために、列挙体&quot;enum&quot;は重要な存在！ ※2017/07/12 じゃんけんの例を追記 ゲームと列挙体 ドラクエのやくそう、ポケモンのモンスターボールなど。ゲームにおいて、アイテムというものは無くてはならない存在です。 これらのアイテムにはプログラム内部で、それぞれ識別番号が割り当てられています。おそらくこの二つのアイテムは序盤から出てくるアイテムなので、一桁台の番号が割り振られているのだろうと思います。 プログラムのアイテムを使うメソッド、例えばUseItemのような処理があったとして、その内部では識別番号に応じて、その処理を分岐…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Findie-game-creation-with-unity.hatenablog.com%2Fentry%2Fabout-enum&quot; title=&quot;ゲームのプログラミングにおいても重要な『列挙体』 Enum について。 - Unityでインディゲームを作る！&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-07-11 19:00:00</published>
  <title>ゲームのプログラミングにおいても重要な『列挙体』 Enum について。</title>
  <type>rich</type>
  <url>https://indie-game-creation-with-unity.hatenablog.com/entry/about-enum</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
