LynnaLab.PluginManager.GetActiveRoom C# (CSharp) Method

GetActiveRoom() public method

public GetActiveRoom ( ) : Room
return Room
        public Room GetActiveRoom() {
            return MainWindow.ActiveRoom;
        }

Usage Example

示例#1
0
        public virtual int GetTile(int x, int y, PluginManager manager)
        {
            Room room = manager.GetActiveRoom();
            int t = room.GetTile(x,y);
            if (!tiles.Contains(t) || ignoreTiles.Contains(t))
                return t;

            Func<int,bool> f = a => {
                return tiles.Contains(a);
            };

            return GetTileBy(x, y, manager, f);
        }
All Usage Examples Of LynnaLab.PluginManager::GetActiveRoom