Базовая генерация пропов
This commit is contained in:
1 parent
db0eed28af
commit
ffda350c58
51 files changed
+2755
-27
No files matched your search
@@ -0,0 +1,12 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace _Project.Scripts.LevelGenerating
|
||||
{
|
||||
// База для генераторов предметов конкретного типа комнаты.
|
||||
// Вешается компонентом на тот же объект, что и RoomGeneratorRegistry.
|
||||
public abstract class RoomPropGenerator : MonoBehaviour
|
||||
{
|
||||
public abstract bool Supports(Room room);
|
||||
public abstract void Generate(RoomView view, FloorData floor);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user