Adding initial files
This commit is contained in:
14
axios/Engine/Interfaces/IAxiosFile.cs
Normal file
14
axios/Engine/Interfaces/IAxiosFile.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.IO;
|
||||
|
||||
namespace Axios.Engine.Interfaces
|
||||
{
|
||||
interface IAxiosFile
|
||||
{
|
||||
void WriteData(string data, FileMode mode);
|
||||
string ReadData();
|
||||
}
|
||||
}
|
19
axios/Engine/Interfaces/IAxiosGameObject.cs
Normal file
19
axios/Engine/Interfaces/IAxiosGameObject.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using Microsoft.Xna.Framework;
|
||||
using FarseerPhysics.SamplesFramework;
|
||||
|
||||
|
||||
namespace Axios.Engine.Interfaces
|
||||
{
|
||||
interface IAxiosGameObject
|
||||
{
|
||||
void Update(AxiosGameScreen gameScreen, GameTime gameTime, bool otherScreenHasFocus, bool coveredByOtherScreen);
|
||||
void LoadContent(AxiosGameScreen gameScreen);
|
||||
void HandleInput(AxiosGameScreen gameScreen, InputHelper input, GameTime gameTime);
|
||||
void HandleCursor(AxiosGameScreen gameScreen, InputHelper input);
|
||||
void UnloadContent(AxiosGameScreen gameScreen);
|
||||
}
|
||||
}
|
18
axios/Engine/Interfaces/IDrawableAxiosGameObject.cs
Normal file
18
axios/Engine/Interfaces/IDrawableAxiosGameObject.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using Microsoft.Xna.Framework;
|
||||
|
||||
namespace Axios.Engine.Interfaces
|
||||
{
|
||||
interface IDrawableAxiosGameObject
|
||||
{
|
||||
int DrawOrder
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
void Draw(AxiosGameScreen gameScreen, GameTime gameTime);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user