invertika_game.Game.Item.Item C# (CSharp) Method

Item() public method

public Item ( ItemClass type, int amount ) : System
type ItemClass
amount int
return System
        public Item(ItemClass type, int amount)
            : base(ThingType.OBJECT_ITEM)
        {
            mType=type;
            mAmount=amount;
            mLifetime = Configuration.getValue("game_floorItemDecayTime", 0) * 10;
        }