public void HitBottom(PlayerContext player) { //write in if block contains item then it just turns into a used block (later) //stop player somehow (later) if (player.GetCurrentState().Equals(MarioState.Small)) { context.bump = true; } else { context.CurrentBlock = context.GetDestoryedBlockState(); context.SetBlockType(BlockContext.Blocks.DESTROYED); context.EntityType = TileMapInterpreter.Entities.DESTROYED; //destroy } }