26 lines
720 B
C#
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; }
|
|
}
|
|
}
|