Organised and added fan art
This commit is contained in:
3
Assets/Scripts/Game.meta
Normal file
3
Assets/Scripts/Game.meta
Normal file
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 38f05ce3c9244f4894f2ac3f07ff8531
|
||||
timeCreated: 1774952723
|
||||
3
Assets/Scripts/Game/Buildings.meta
Normal file
3
Assets/Scripts/Game/Buildings.meta
Normal file
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6da83f1712164887a1710190cac61f41
|
||||
timeCreated: 1774952920
|
||||
11
Assets/Scripts/Game/Buildings/BuildingBase.cs
Normal file
11
Assets/Scripts/Game/Buildings/BuildingBase.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace Fruitomation.Game
|
||||
{
|
||||
public abstract class BuildingBase : MonoBehaviour
|
||||
{
|
||||
[Header("Building Properties")]
|
||||
[SerializeField] private Texture2D BuildingTexture;
|
||||
[field: SerializeField] public Vector2Int SizeOnGrid { get; private set; }
|
||||
}
|
||||
}
|
||||
3
Assets/Scripts/Game/Buildings/BuildingBase.cs.meta
Normal file
3
Assets/Scripts/Game/Buildings/BuildingBase.cs.meta
Normal file
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: cfb885c06483444a8586e0e2d1933163
|
||||
timeCreated: 1774952929
|
||||
7
Assets/Scripts/Game/Buildings/FanBuilding.cs
Normal file
7
Assets/Scripts/Game/Buildings/FanBuilding.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace Fruitomation.Game
|
||||
{
|
||||
public class FanBuilding : BuildingBase
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
3
Assets/Scripts/Game/Buildings/FanBuilding.cs.meta
Normal file
3
Assets/Scripts/Game/Buildings/FanBuilding.cs.meta
Normal file
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1926ee4d89f644c6976fa93256772490
|
||||
timeCreated: 1774954178
|
||||
@@ -1,9 +1,10 @@
|
||||
using Fruitomation.Global;
|
||||
using PashaBibko.Pacore.Attributes;
|
||||
using UnityEngine.UI;
|
||||
using UnityEngine;
|
||||
using Random = UnityEngine.Random;
|
||||
|
||||
namespace Fruitomation
|
||||
namespace Fruitomation.Game
|
||||
{
|
||||
public class FruitBehaviour : MonoBehaviour
|
||||
{
|
||||
@@ -1,8 +1,9 @@
|
||||
using PashaBibko.Pacore.Attributes;
|
||||
using System.Collections.Generic;
|
||||
using Fruitomation.Global;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Fruitomation
|
||||
namespace Fruitomation.Game
|
||||
{
|
||||
public class FruitSpawner : MonoBehaviour
|
||||
{
|
||||
3
Assets/Scripts/Global.meta
Normal file
3
Assets/Scripts/Global.meta
Normal file
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4e4f399bdf914615a29c9eb0787a0712
|
||||
timeCreated: 1774952662
|
||||
@@ -1,7 +1,7 @@
|
||||
using PashaBibko.Pacore.Attributes;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Fruitomation
|
||||
namespace Fruitomation.Global
|
||||
{
|
||||
public enum GameState
|
||||
{
|
||||
@@ -1,7 +1,7 @@
|
||||
using PashaBibko.Pacore.Attributes;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Fruitomation
|
||||
namespace Fruitomation.Global
|
||||
{
|
||||
[CreateInstanceOnStart] public class MoneyController : MonoBehaviour
|
||||
{
|
||||
@@ -1,7 +1,8 @@
|
||||
using Fruitomation.Global;
|
||||
using UnityEngine.UI;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Fruitomation
|
||||
namespace Fruitomation.UI
|
||||
{
|
||||
public class FruitBowlController : MonoBehaviour
|
||||
{
|
||||
@@ -1,7 +1,8 @@
|
||||
using System.Collections.Generic;
|
||||
using Fruitomation.Game;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Fruitomation
|
||||
namespace Fruitomation.UI
|
||||
{
|
||||
public class GameCursor : MonoBehaviour
|
||||
{
|
||||
@@ -1,4 +1,5 @@
|
||||
using UnityEngine.UI;
|
||||
using Fruitomation.Global;
|
||||
using UnityEngine.UI;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Fruitomation.UI
|
||||
|
||||
Reference in New Issue
Block a user