protected override void HandleSpecialTileTypeCases(ITile t) { // when a guard's feet hit a magnet he gets stuck to it & can no longer move freely if (CollisionType.magnet == t.getCollisionBehaviour() && !isStuck) { isStuck = true; position.X = t.getPosition().X + t.getPosition().Width / 2 - position.Width / 2; } base.HandleSpecialTileTypeCases(t); }