示例#1
0
文件: CachedTile.cs 项目: i-e-b/Slick
 public CachedTile([NotNull] Panel container, PositionKey key, double x, double y)
 {
     _key     = key;
     _x       = x;
     _y       = y;
     State    = TileState.Locked;
     UiCanvas = Win2dCanvasManager.Employ(container, this, x, y);
 }
示例#2
0
文件: CachedTile.cs 项目: i-e-b/Slick
 /// <summary>
 /// Remove event bindings
 /// </summary>
 public void Detach()
 {
     Win2dCanvasManager.Retire(UiCanvas);
     _detached = true;
 }