Archive Browser
Download aitest2.zip, last updated 07/07/2010 (14.13 KB)
Downloadusing System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
namespace AiTest
{
class PlayerSprite : Sprite
{
#region Public Overridden Methods
public override CollisionAction GetCollisionAction(Sprite collidedWith)
{
return CollisionAction.Explode; // Player dies if it touches any other sprites
}
public override void Move()
{
// Do nothing, this sprite doesn't automatically move
}
#endregion Public Overridden Methods
#region Public Properties
public override Color Color
{
get { return Color.Aquamarine; }
}
#endregion Public Properties
}
}
Donate
This software may be used free of charge, but as with all free software there are costs involved to develop and maintain.
If this site or its services have saved you time, please consider a donation to help with running costs and timely updates.
Donate