Skip to content
Snippets Groups Projects
Commit 24f5b940 authored by Robin Halseth Sandvik's avatar Robin Halseth Sandvik
Browse files

Stuff for active items.

parent 8a9836ea
No related branches found
No related tags found
1 merge request!35Massive rework of inventory system.
using System.Collections;
using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.InputSystem;
namespace BigSock.Item {
/*
A class that represents an item that provides passive stat boosts.
*/
public abstract class ActiveItemBase : ItemBase, IActiveItem {
/*
The ability the item activates.
*/
public abstract IAbility Ability { get; }
}
}
\ No newline at end of file
fileFormatVersion: 2
guid: 0e7dc546f6b48824c82371beb01ec593
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
using System.Collections;
using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.InputSystem;
namespace BigSock.Item {
/*
An interface for items that needs to be activated manually.
*/
public interface IActiveItem : IItem {
/*
The ability the item activates.
*/
IAbility Ability { get; }
}
}
\ No newline at end of file
fileFormatVersion: 2
guid: 464182374ada7ac47b2d0bbc23232e22
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment