Пример #1
0
        private void InitializeIndex(NamedTileIndex index)
        {
            if (index == null)
                throw new ArgumentNullException();

            Index = index;
        }
Пример #2
0
 internal NamedTileKey(NamedTileIndex index, String name, Texture2dArea tile)
     : base(tile)
 {
     //Inits moved here because parameters need to be passed.
     InitializeIndex(index);
     InitializeKey(name);
 }