From: John A. T. <ja...@ja...> - 2005-11-18 20:41:42
|
On Fri, 18 Nov 2005, Erik Vos wrote: > 1. Find a way to model the exact (x,y) location of every token slot on every > tile in all rotations. In theory we could derive these from Marco's > tile definitions, but that will be a lot of work. > Unless John will help us out here.... My code gets passed a tile object and draws it at a given location and orientation. Annotations are included in the tile object, both as positioned/sized on the tile background and associated with a particular city circle. So if somehow I can get from the tile to the token object that knows how to draw itself, that will be easy enough. Presumably, that would be a TokenAnnotation (or whatever you want to call it) that is an annotation described by a token. For the UI code, the location of eligible city circles (or otherwise for tokens that go on the edge of the hex such as the port token mentioned) needs to be available from the tile renderer interface. I am getting way behind on everything I need to get done, so I don't think I will have the Java port of my tile rendering code done until after Christmas. -- John A. Tamplin ja...@ja... 770/436-5387 HOME 4116 Manson Ave Smyrna, GA 30082-3723 |