Exemplo n.º 1
0
        public GameEntityMouseArea AddMouseArea(IFShape shape, IGameEntityMouseAreaListener listener, bool swallowEvents = true)
        {
            var area = new GameEntityMouseArea(this, shape, swallowEvents);

            area.AddListener(listener);
            MouseAreas.Add(area);
            return(area);
        }
Exemplo n.º 2
0
 public void AddListener(IGameEntityMouseAreaListener l)
 {
     listener.Add(l);
 }