Exemple #1
0
        public Pawn(Texture2D aSprite, Rectangle? aSourceRectangle, Color aSourceColor)
            : base(aSprite, aSourceRectangle, aSourceColor)
        {
            pController = new Controller(this);

            SetCollision(Actor.CollisionType.Solid);
        }
Exemple #2
0
 public virtual void SetController(Controller C)
 {
     pController = C;
 }