/// <summary> /// The main entry point for the application. /// </summary> static void Main(string[] args) { using (Game1 game = new Game1()) { game.Run(); } }
//represents the camera's vector position public CollisionCheckSystem(Game1 TheGame, Model SentModel, Vector3 ModelPosition) { GameRef = TheGame; //camera should always be moveable; but can be changed if need be base.Moveable = true; //would have made a call to super constructors but I decided to put in specific information; less parameters to pass about ModifiedBaseConstuctor(ModelPosition); VisibleObjects = new List<ScreenModel>(); //Shield finds nearby objects at a specific distance...items in range will be added to the VisibleObjects list PersonalShield = new BoundingSphere(Position,1f); }