Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Problem with Object Oriented Design (programming issue)

Author: Daniel Clausen

Date: 02:41:35 09/18/03

Go up one level in this thread


On September 17, 2003 at 19:14:24, Pat King wrote:

[snip]

>class Piece: public Apiece, Position; // implements default apiece methods
>//(MakeMove(move), UndoMove(move)), has access to position for this purpose.

I don't understand this one - piece both inherits from the abstract piece and
position?


>Hope this is interesting/helpful.

It definitely is, thanks!

Sargon



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.