Possible template for 2D platform games