예제 #1
0
        public override void Apply()
        {
            Curio.AddBehavior(this);
            var pos = Curio.GetBehavior <BehaviorOnTile>();

            if (pos != null)
            {
                TeleportVisual(pos.MapTile);
            }
        }
예제 #2
0
 public override void Apply()
 {
     MapTile.AddBehavior(this);
     Curio.AddBehavior(this);
 }
 public override void Apply()
 {
     Curio.AddBehavior(this);
 }