[Seaside] Add a seaside interface to an existing program

Damien Cassou damien.cassou at laposte.net
Wed May 4 14:52:25 CEST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

I'm trying to code a little game in Squeak and I would like him to have
a seaside interface too.

To resume :

I have a class A and a class B which each instance contains 5 class A
instances. B is a group of 5 As.

B sould be graphicly represented by 5 As side by side.

How and where can I code the function which display B in seaside ?

My problem is I can't write a WA-A class which would represent a A
seaside interface. Because then, I shoult not be able to use the B class
: I should write a class WA-B which contain some WA-A and then I
disconnect the B class.

If I do not write any WA-A, but just a WA-B, this class needs to
represent elements of the A class which is not very interesting.

In my problem, A is a 6-side dice, and B is a group of 5 dices.

Hope I was clear

- --
Damien

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCeMWJyl2oT75/6woRAuKYAKClHj1oMm62KskHUfNWC7CYZbTYjwCggv28
rFAXVliZInABEFp0Yejulw4=
=uUAC
-----END PGP SIGNATURE-----



More information about the Seaside mailing list