[Laszlo-dev] how to determine the objects with given position attributes
cem sonmez
cemosonmez at gmail.com
Thu Jul 16 17:17:38 PDT 2009
Hi, i want to develop a simple backgammon game in laszlo and need some help
.
I have 3 files called pul.lzx, table.lzx and application.lzx for now
application.lzx -> is the main file which includes one of pul and table
class objects. Application file that has <canvas>
table.lzx -> another class that has it's own attributes and methods. Also
some "pul" objects is being created in this file.
pul.lzx (playing pieces's class definition)->
There is just one "table" object created in the application. And i create "pul"
objects in "table" class's definition.
So after dragging the "pul (playing piece)" object and when onmouseup event
sent, I want to know if another "pul" object exists at this location. I have
the bounds of "pul" objects and need a method which returns the objects via
using given bounds. Or has anyone can help me how to do this in another way.
Any idea? waiting for your replies.
Best Regards
--
Cem SONMEZ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20090716/08139a6d/attachment.html
More information about the Laszlo-dev
mailing list