<?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: Introduction to OOP for C++ games</title>
	<atom:link href="https://gamecodeschool.com/c-plus-plus/introduction-to-oop-for-c_plus_plus-games/feed/" rel="self" type="application/rss+xml" />
	<link>https://gamecodeschool.com/c-plus-plus/introduction-to-oop-for-c_plus_plus-games/</link>
	<description>Game Coding for Beginners</description>
	<lastBuildDate>Mon, 20 Apr 2026 12:04:35 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.2.38</generator>
	<item>
		<title>By: John Horton</title>
		<link>https://gamecodeschool.com/c-plus-plus/introduction-to-oop-for-c_plus_plus-games/#comment-17259</link>
		<dc:creator><![CDATA[John Horton]]></dc:creator>
		<pubDate>Tue, 14 Apr 2020 08:18:31 +0000</pubDate>
		<guid isPermaLink="false">http://gamecodeschool.com/?p=12746#comment-17259</guid>
		<description><![CDATA[Outside the class. The pong tutorial demonstrates this as an example. http://gamecodeschool.com/sfml/coding-a-simple-pong-game-with-sfml/]]></description>
		<content:encoded><![CDATA[<p>Outside the class. The pong tutorial demonstrates this as an example. <a href="http://gamecodeschool.com/sfml/coding-a-simple-pong-game-with-sfml/" rel="nofollow">http://gamecodeschool.com/sfml/coding-a-simple-pong-game-with-sfml/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jenny</title>
		<link>https://gamecodeschool.com/c-plus-plus/introduction-to-oop-for-c_plus_plus-games/#comment-17256</link>
		<dc:creator><![CDATA[Jenny]]></dc:creator>
		<pubDate>Sun, 12 Apr 2020 12:10:20 +0000</pubDate>
		<guid isPermaLink="false">http://gamecodeschool.com/?p=12746#comment-17256</guid>
		<description><![CDATA[The part where we make objects, where does the code belong? (Inside the class, Outside it, or...?)
Helpful tutorials btw :)
Thanks!]]></description>
		<content:encoded><![CDATA[<p>The part where we make objects, where does the code belong? (Inside the class, Outside it, or&#8230;?)<br />
Helpful tutorials btw <img src="https://gamecodeschool.com/wp-includes/images/smilies/simple-smile.png" alt=":)" class="wp-smiley" style="height: 1em; max-height: 1em;" /><br />
Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Horton</title>
		<link>https://gamecodeschool.com/c-plus-plus/introduction-to-oop-for-c_plus_plus-games/#comment-2147</link>
		<dc:creator><![CDATA[John Horton]]></dc:creator>
		<pubDate>Sat, 25 Jun 2016 13:42:05 +0000</pubDate>
		<guid isPermaLink="false">http://gamecodeschool.com/?p=12746#comment-2147</guid>
		<description><![CDATA[Hi Dave,
Thanks for taking the time to write the comment, I really appreciate it. Both points are my mistakes and I have put them right to make it clear to future readers.

Really appreciate it!

John]]></description>
		<content:encoded><![CDATA[<p>Hi Dave,<br />
Thanks for taking the time to write the comment, I really appreciate it. Both points are my mistakes and I have put them right to make it clear to future readers.</p>
<p>Really appreciate it!</p>
<p>John</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>https://gamecodeschool.com/c-plus-plus/introduction-to-oop-for-c_plus_plus-games/#comment-2146</link>
		<dc:creator><![CDATA[Dave]]></dc:creator>
		<pubDate>Sat, 25 Jun 2016 11:10:54 +0000</pubDate>
		<guid isPermaLink="false">http://gamecodeschool.com/?p=12746#comment-2146</guid>
		<description><![CDATA[Hi John,

Firstly, great tutorials. I&#039;ve learned far more from this website than I have from any other so thank you for taking the time to write these tutorials and long may they continue!

There&#039;s something I&#039;m a little confused about though - when talking about the constructor you mention it&#039;s the same as a function but has the same name as the class, however in the example the class is called Paddle and the constructor is called Bat. Is that a typo or am I missing something?

Also, inside the constructor you have position.xPosition = startX; but I can&#039;t see where position has previously been declared or written. Should it not be just xPosition = startX; and if not where does position.xPosition come from?

Thanks.]]></description>
		<content:encoded><![CDATA[<p>Hi John,</p>
<p>Firstly, great tutorials. I&#8217;ve learned far more from this website than I have from any other so thank you for taking the time to write these tutorials and long may they continue!</p>
<p>There&#8217;s something I&#8217;m a little confused about though &#8211; when talking about the constructor you mention it&#8217;s the same as a function but has the same name as the class, however in the example the class is called Paddle and the constructor is called Bat. Is that a typo or am I missing something?</p>
<p>Also, inside the constructor you have position.xPosition = startX; but I can&#8217;t see where position has previously been declared or written. Should it not be just xPosition = startX; and if not where does position.xPosition come from?</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Horton</title>
		<link>https://gamecodeschool.com/c-plus-plus/introduction-to-oop-for-c_plus_plus-games/#comment-1895</link>
		<dc:creator><![CDATA[John Horton]]></dc:creator>
		<pubDate>Mon, 09 May 2016 14:48:36 +0000</pubDate>
		<guid isPermaLink="false">http://gamecodeschool.com/?p=12746#comment-1895</guid>
		<description><![CDATA[Many thanks James.]]></description>
		<content:encoded><![CDATA[<p>Many thanks James.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
