public LightPoint(Screens.Game.Main pRootScreen, int pLightPosX, int pLightPosY, int pLightRadius, string pLightShape) { RootScreen = pRootScreen; PosX = pLightPosX; PosY = pLightPosY; Radius = pLightRadius; SetLightShape(pLightShape); LightColor = Color.Black; System.Console.WriteLine("New LightPoint at:"); System.Console.WriteLine(pLightPosX + " , " + pLightPosY); }
public Player(int pX, int pY, Screens.Game.Main pRootScreen) { X = pX; Y = pY; initialX = pX; initialY = pY; Health = DefaultHealth; rootScreen = pRootScreen; // Set the jump vector SetJumpVector(3); // Set Up Camera Boundary pRootScreen.CameraBoundary_Enabled = true; CurrentMapRenderer = rootScreen.MapView; TaiyouGlobal.PlayerObj = this; }