<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>toburau</author_name>
  <author_url>https://blog.hatena.ne.jp/toburau/</author_url>
  <blog_title>ゲームが作れるようになるまでがんばる日記</blog_title>
  <blog_url>https://toburau.hatenablog.jp/</blog_url>
  <categories>
    <anon>デザパタ</anon>
  </categories>
  <description>直訳すると「記念品」「思い出」という意味。今の状態を保存しておいて、復帰できるようにする。 ゲームで言えばセーブ。今のプレイ状況を保存しておくこと。 以下、プレイヤーデータのHPとMPを保存して復帰する簡単なサンプル。 // セーブデータ(Memento役、記念品) SaveData.java package player; public class SaveData { int hp; int mp; SaveData(int hp, int mp) { this.hp = hp; this.mp = mp; } } // プレイヤーデータ(Originator役、作成者) Player.j…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftoburau.hatenablog.jp%2Fentry%2F20070824%2F1187976444&quot; title=&quot;Memento - ゲームが作れるようになるまでがんばる日記&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>2007-08-24 02:27:24</published>
  <title>Memento</title>
  <type>rich</type>
  <url>https://toburau.hatenablog.jp/entry/20070824/1187976444</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
