<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Polymorphism on The TARDIS Server Project</title>
		<link>https://www.tardisgallifrey.com/tags/polymorphism/</link>
		<description>Recent content in Polymorphism 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://www.tardisgallifrey.com/tags/polymorphism/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Refactoring sometimes creates issues</title>
				<link>https://www.tardisgallifrey.com/posts/issues/</link>
				<pubDate>Tue, 25 Aug 2026 11:08:29 -0500</pubDate>
				<guid>https://www.tardisgallifrey.com/posts/issues/</guid>
				<description>&lt;h2 id=&#34;not-as-expected&#34;&gt;Not as expected&lt;/h2&gt;&#xA;&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;&#xA;&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&#xA;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>
