<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Take a Peek: Null Op Source Code</title>
	<atom:link href="http://www.anotherearlymorning.com/2009/02/take-a-peek-null-op-source-code/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.anotherearlymorning.com/2009/02/take-a-peek-null-op-source-code/</link>
	<description>Game development, design, and discussion</description>
	<lastBuildDate>Fri, 19 Aug 2011 08:30:16 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
	<item>
		<title>By: Eddie</title>
		<link>http://www.anotherearlymorning.com/2009/02/take-a-peek-null-op-source-code/comment-page-1/#comment-101</link>
		<dc:creator>Eddie</dc:creator>
		<pubDate>Fri, 27 Feb 2009 17:19:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.anotherearlymorning.com/?p=436#comment-101</guid>
		<description>&lt;p&gt;I&#039;m glad you released the code this &quot;open source&quot; game of yours. I was just about to get Richard Stallman to come knock down your door!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I&#8217;m glad you released the code this &#8220;open source&#8221; game of yours. I was just about to get Richard Stallman to come knock down your door!</p>]]></content:encoded>
	</item>
	<item>
		<title>By: aschearer</title>
		<link>http://www.anotherearlymorning.com/2009/02/take-a-peek-null-op-source-code/comment-page-1/#comment-100</link>
		<dc:creator>aschearer</dc:creator>
		<pubDate>Thu, 26 Feb 2009 22:38:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.anotherearlymorning.com/?p=436#comment-100</guid>
		<description>&lt;p&gt;Hey Kev thanks I appreciate it. The resourceful package is actually an interesting experiment. It&#039;s sort of a pain to actually use which is why I don&#039;t want to publish it officially but it does nicely separate out the data from the code. It let me do some cool things, too, such as re-use the StoreItem class for all four store items. Really being data driven is a great thing to aim for.&lt;/p&gt;

&lt;p&gt;And sorry, Kev, that I didn&#039;t provide any explanation for how all that works. For everyone else it is as follows:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A class can have a @Resourceful attribute&lt;/li&gt;
&lt;li&gt;If so then it&#039;s first argument in the constructor is a ResourceBundle&lt;/li&gt;
&lt;li&gt;Factories generate objects and look for the attribute&lt;/li&gt;
&lt;li&gt;If found they look up the proper resource file and create a bundle from it&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Hope that helps people understand what&#039;s going on. Thanks for all the feedback!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hey Kev thanks I appreciate it. The resourceful package is actually an interesting experiment. It&#8217;s sort of a pain to actually use which is why I don&#8217;t want to publish it officially but it does nicely separate out the data from the code. It let me do some cool things, too, such as re-use the StoreItem class for all four store items. Really being data driven is a great thing to aim for.</p>

<p>And sorry, Kev, that I didn&#8217;t provide any explanation for how all that works. For everyone else it is as follows:</p>

<ul>
<li>A class can have a @Resourceful attribute</li>
<li>If so then it&#8217;s first argument in the constructor is a ResourceBundle</li>
<li>Factories generate objects and look for the attribute</li>
<li>If found they look up the proper resource file and create a bundle from it</li>
</ul>

<p>Hope that helps people understand what&#8217;s going on. Thanks for all the feedback!</p>]]></content:encoded>
	</item>
	<item>
		<title>By: kev</title>
		<link>http://www.anotherearlymorning.com/2009/02/take-a-peek-null-op-source-code/comment-page-1/#comment-99</link>
		<dc:creator>kev</dc:creator>
		<pubDate>Thu, 26 Feb 2009 22:31:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.anotherearlymorning.com/?p=436#comment-99</guid>
		<description>&lt;p&gt;hey! i really like the way you handle all the resource stuff. It keeps the class files clean and you do not have to change (much) source code when adding new themes or editing existing ones. But it makes the code harder to read / understand if you&#039;re not familiar with the resourceful package (had to go through all the resourceful classes before i actually understand what you were doing - but that was quite educating, too).&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>hey! i really like the way you handle all the resource stuff. It keeps the class files clean and you do not have to change (much) source code when adding new themes or editing existing ones. But it makes the code harder to read / understand if you&#8217;re not familiar with the resourceful package (had to go through all the resourceful classes before i actually understand what you were doing &#8211; but that was quite educating, too).</p>]]></content:encoded>
	</item>
	<item>
		<title>By: aschearer</title>
		<link>http://www.anotherearlymorning.com/2009/02/take-a-peek-null-op-source-code/comment-page-1/#comment-98</link>
		<dc:creator>aschearer</dc:creator>
		<pubDate>Thu, 26 Feb 2009 16:28:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.anotherearlymorning.com/?p=436#comment-98</guid>
		<description>&lt;p&gt;Thanks Gornova. I may come back to Null Op sometime in the future, I&#039;m not sure right now. I&#039;m also glad you&#039;ve found my work useful. I&#039;d love to leave more comments, etc, but unfortunately they always seem to be left out in favor of writing more code. That said I try to write simple methods which explain themselves.&lt;/p&gt;

&lt;p&gt;My next game? Who knows!&lt;/p&gt;

&lt;p&gt;... Also I realized I had forgotten to upload the source to the server, consider that fixed.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks Gornova. I may come back to Null Op sometime in the future, I&#8217;m not sure right now. I&#8217;m also glad you&#8217;ve found my work useful. I&#8217;d love to leave more comments, etc, but unfortunately they always seem to be left out in favor of writing more code. That said I try to write simple methods which explain themselves.</p>

<p>My next game? Who knows!</p>

<p>&#8230; Also I realized I had forgotten to upload the source to the server, consider that fixed.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Gornova</title>
		<link>http://www.anotherearlymorning.com/2009/02/take-a-peek-null-op-source-code/comment-page-1/#comment-97</link>
		<dc:creator>Gornova</dc:creator>
		<pubDate>Thu, 26 Feb 2009 13:11:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.anotherearlymorning.com/?p=436#comment-97</guid>
		<description>&lt;p&gt;when shade is completed, why not go back and improve null op? :D&lt;/p&gt;

&lt;p&gt;i&#039;ve already appreciated your work: good code organization, but not enough comments :(
documentation, in particular when you invoke a library, could really be important into source code, no?&lt;/p&gt;

&lt;p&gt;note: your next game? a platform? :D&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>when shade is completed, why not go back and improve null op? :D</p>

<p>i&#8217;ve already appreciated your work: good code organization, but not enough comments :(
documentation, in particular when you invoke a library, could really be important into source code, no?</p>

<p>note: your next game? a platform? :D</p>]]></content:encoded>
	</item>
</channel>
</rss>

