Files
2021-04-11 18:42:22 +02:00

26 lines
720 B
C#

using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Xna.Framework;
namespace EvilSatellites.Objects
{
public interface IGameObject : EvilSatellites.Quadtree.Positional
{
void Activate();
void Destroy();
Vector3 Position { get; set; }
Vector3 Dimensions { get; set; }
Vector3 Orientation { get; set; }
bool IsDynamic { get; }
float Theta { get; set; }
Matrix Rotation { get; set; }
void Update(GameTime gameTime);
ObjectType Type { get; set; }
void Move(Vector3 pose);
void OnCollision(IGameObject obj);
bool ShouldDestroy { get; }
bool Active { get; set; }
}
}