Investigate documented code (Hong) - LimYewKwong/BattleShip GitHub Wiki

Investigate documented code

GameState.cs

  • Every code are documented

GameResources.cs

Missing documented code

  • public static class GameResources
  • 4 private static Dictionary
  • 4 private static Bitmap, 1 private static Font, 1 private static SoundEffect
  • private static void LoadFonts()
  • private static void LoadImages()
  • private static void LoadSounds()
  • private static void LoadMusic()
  • private static void ShowLoadingScreen()
  • private static void PlaySwinGameIntro()
  • private static void ShowMessage()
  • private static void EndLoadingScreen(int width, int height)
  • private static void NewFont(string fontName, string filename, int size)
  • private static void NewImage(string imageName, string filename)
  • private static void NewTransparentColorImage(string imageName, string fileName, Color transColor)
  • private static void NewTransparentColourImage(string imageName, string fileName, Color transColor)
  • private static void NewSound(string soundName, string filename)
  • private static void NewMusic(string musicName, string filename)
  • private static void FreeFonts()
  • private static void FreeImages()
  • private static void FreeSounds()
  • private static void FreeMusic()
  • public static void FreeResources()

GameLogic.cs

Missing documented code

  • static class GameLogic
  • PlayMusic(GameMusic("Background"))
  • StopMusic()