예제 #1
0
        public static Texture2D playerRotationShade(Texture2D texture, Planet planet)
        {
            if (planet == null)
            {
                return(texture);
            }

            return(Texture2dHelper.PlayerShade(_game.GraphicsDevice, texture, planet));
        }
예제 #2
0
 public static Texture2D rotationShade(Texture2D texture, float angle)
 {
     return(Texture2dHelper.Shade(_game.GraphicsDevice, texture, angle));
 }