<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sironekotoro</author_name>
  <author_url>https://blog.hatena.ne.jp/sironekotoro/</author_url>
  <blog_title>sironekotoroの日記</blog_title>
  <blog_url>https://sironekotoro.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>リスト8.7 ,リスト8.8 物理攻撃クラス＆武闘家の物理攻撃クラス Mouse での継承で override を使うの初めて。 というか、それ以前でもなかったかも。 親クラスの同名のメソッドを上書きして使いたい時に使うもの、程度の認識です。 今回は差をわかりやすくするために、親クラスである PhysicalAttack の攻撃力と、それを継承する FighterPhysicalAttack の攻撃力に極端に差をつけてます。 おかげで、武闘家のダメージが通常 : 21に対してダブル : 12 と逆転してますが、まぁ。 ここクリックして展開 #!/usr/bin/env perl use str…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsironekotoro.hateblo.jp%2Fentry%2F2022%2F07%2F02%2F120000&quot; title=&quot;「良いコード／悪いコードで学ぶ設計入門」第8章 密結合  各種事例 #ミノ駆動本  - sironekotoroの日記&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>2022-07-02 12:00:00</published>
  <title>「良いコード／悪いコードで学ぶ設計入門」第8章 密結合  各種事例 #ミノ駆動本 </title>
  <type>rich</type>
  <url>https://sironekotoro.hateblo.jp/entry/2022/07/02/120000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
