Example #1
0
 public Titan(ActorParameters parameters) : base(parameters, Swatch.DbBlood, (char)0x1054)
 {
     Equipment = new EquipmentHandler();
     Facing    = Direction.SE;
     _attacks  = new List <IAction>()
     {
         new DamageAction(50, new TargetZone(TargetShape.Range)),
         new DamageAction(50, new TargetZone(TargetShape.Range)),
         new DamageAction(100, new TargetZone(TargetShape.Self, 1, 2), 240, 240),
     };
     _current = 0;
 }
Example #2
0
        public Actor(ActorParameters parameters, System.Drawing.Color color, char symbol)
        {
            Parameters = parameters;
            Hp         = Parameters.MaxHp;
            Sp         = Parameters.MaxSp;
            // TODO: calculate armor from equipment
            Armor = 30;

            Energy        = 0;
            Inventory     = new InventoryHandler();
            StatusHandler = new StatusHandler(this);
            StatusHandler.AddStatus(StatusType.Phasing, 10);

            DrawingComponent = new Drawable(color, symbol, false);
            BlocksLight      = true;
        }