Game Development Community

GuiRTSTSCtrl Selection Events

by Novack · in RTS Starter Kit · 08/20/2007 (12:49 pm) · 0 replies

While working with GuiRTSTSCtrl, I came to sonclusion that neither GuiRTSTSCtrl::onSelectObject nor
GuiRTSTSCtrl::onUnselectObject are ever used or called. (The only one event called is GuiRTSTSCtrl::onClearSelection)

In fact, the two events are almost equal to GuiRTSTSCtrl::selectObject and GuiRTSTSCtrl::unselectObject

So, anyone knows the selection-events mechanic, and can help me figure what its supossed to do those two events there? It seems to be some forgoten code, but I would apreciate the word of someone wiser than me, just to be sure ;)