datalurkur / Mountainhome

A detailed and intricate worldsim borrowing from the Dungeon Keeper-style dungeon-building mechanic
You're lookin' at it.
6 stars 2 forks source link

Create the Focus class #47

Closed datalurkur closed 14 years ago

datalurkur commented 14 years ago

Focus will be in charge of picking and storing a list of Ruby object IDs. Since only one instance needs to exist and it needs access to many different parts of the engine, it should be a singleton. It should take mouse events and decide which entities are selected based on the mouse events. It should support single-click selection, right-click selection, and click and drag selection.

datalurkur commented 14 years ago

Due to architectural re-discussion, this isn't actually going to exist.