Exemple #1
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;
        }