<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Class Inheritance on The TARDIS Server Project</title><link>https://tardisgallifrey.codeberg.page/tags/class-inheritance/</link><description>Recent content in Class Inheritance on The TARDIS Server Project</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Tue, 25 Aug 2026 11:08:29 -0500</lastBuildDate><atom:link href="https://tardisgallifrey.codeberg.page/tags/class-inheritance/index.xml" rel="self" type="application/rss+xml"/><item><title>Refactoring sometimes creates issues</title><link>https://tardisgallifrey.codeberg.page/posts/issues/</link><pubDate>Tue, 25 Aug 2026 11:08:29 -0500</pubDate><guid>https://tardisgallifrey.codeberg.page/posts/issues/</guid><description>&lt;h2 id="not-as-expected"&gt;Not as expected&lt;/h2&gt;
&lt;p&gt;I didn&amp;rsquo;t get much accomplished this weekend on my adventure game. While I did manage to get a ContainerThing class created, the next step kind of failed miserably.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;ContainerThing&lt;/code&gt; was added as a descendent of the &lt;code&gt;Thing&lt;/code&gt;:w
class so that we can have chests and sacks; things that have to be opened and closed before user access. That all went pretty well. I did have to adapt to using &lt;code&gt;instanceof&lt;/code&gt; in order to access the &lt;code&gt;isOpenable&lt;/code&gt; field and the &lt;code&gt;open()&lt;/code&gt; and &lt;code&gt;close()&lt;/code&gt; methods. But it worked out.&lt;/p&gt;</description></item></channel></rss>