mirror of
https://github.com/prime31/FNA-VSCode-Template.git
synced 2026-02-01 19:10:16 +07:00
Building projects and effects
This commit is contained in:
38
project_name/Game1.cs
Normal file
38
project_name/Game1.cs
Normal file
@@ -0,0 +1,38 @@
|
||||
using System;
|
||||
using Microsoft.Xna.Framework;
|
||||
|
||||
namespace project_name
|
||||
{
|
||||
class Game1 : Game
|
||||
{
|
||||
GraphicsDeviceManager graphics;
|
||||
|
||||
public Game1()
|
||||
{
|
||||
graphics = new GraphicsDeviceManager(this);
|
||||
Content.RootDirectory = "Content";
|
||||
}
|
||||
|
||||
override protected void Initialize()
|
||||
{
|
||||
base.Initialize();
|
||||
}
|
||||
|
||||
override protected void LoadContent()
|
||||
{
|
||||
base.LoadContent();
|
||||
}
|
||||
|
||||
override protected void Update(GameTime gameTime)
|
||||
{
|
||||
base.Update(gameTime);
|
||||
}
|
||||
|
||||
override protected void Draw(GameTime gameTime)
|
||||
{
|
||||
GraphicsDevice.Clear(Color.CornflowerBlue);
|
||||
|
||||
base.Draw(gameTime);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user