Beispiel #1
0
        public PlayerCharacter(Vector2 position, Vector2 offset)
            : base(position, offset)
        {
            CollisionCircle circ = new CollisionCircle(25, new Vector2((GetSprite().Width / 2), (GetSprite().Height + 70)));

            SetCircle(circ);
        }
Beispiel #2
0
 public BattleChar(int ID, Vector2 position, Vector2 Offset, int enemy, int Radius)
     : base(position, Offset)
 {
     // SetOffset(new Vector2(position.X + GetSprite().Width, position.X + GetSprite().Height));
     StaticID = ID;
     SetCurrentAnimation(ForwardStandAnimation);
     cir        = new CollisionCircle(25, Vector2.Zero);
     MoveCircle = new CollisionCircle(350, Vector2.Zero);
 }
Beispiel #3
0
 public void SetCircle(CollisionCircle Circ)
 {
     cir = Circ;
 }