Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"recommendations": [
"visualstudiotoolsforunity.vstuc"
]
}
10 changes: 10 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Attach to Unity",
"type": "vstuc",
"request": "attach"
}
]
}
55 changes: 55 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{
"files.exclude": {
"**/.DS_Store": true,
"**/.git": true,
"**/.gitmodules": true,
"**/*.booproj": true,
"**/*.pidb": true,
"**/*.suo": true,
"**/*.user": true,
"**/*.userprefs": true,
"**/*.unityproj": true,
"**/*.dll": true,
"**/*.exe": true,
"**/*.pdf": true,
"**/*.mid": true,
"**/*.midi": true,
"**/*.wav": true,
"**/*.gif": true,
"**/*.ico": true,
"**/*.jpg": true,
"**/*.jpeg": true,
"**/*.png": true,
"**/*.psd": true,
"**/*.tga": true,
"**/*.tif": true,
"**/*.tiff": true,
"**/*.3ds": true,
"**/*.3DS": true,
"**/*.fbx": true,
"**/*.FBX": true,
"**/*.lxo": true,
"**/*.LXO": true,
"**/*.ma": true,
"**/*.MA": true,
"**/*.obj": true,
"**/*.OBJ": true,
"**/*.asset": true,
"**/*.cubemap": true,
"**/*.flare": true,
"**/*.mat": true,
"**/*.meta": true,
"**/*.prefab": true,
"**/*.unity": true,
"build/": true,
"Build/": true,
"Library/": true,
"library/": true,
"obj/": true,
"Obj/": true,
"ProjectSettings/": true,
"temp/": true,
"Temp/": true
},
"dotnet.defaultSolution": "CSharpMainProject.sln"
}
19 changes: 16 additions & 3 deletions Assets/Scripts/UnitBrains/Player/SecondUnitBrain.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using System.Collections.Generic;
using Model.Runtime.Projectiles;
using UnityEngine;
using UnityEngine.UIElements;

namespace UnitBrains.Player
{
Expand All @@ -18,9 +19,21 @@ protected override void GenerateProjectiles(Vector2Int forTarget, List<BaseProje
float overheatTemperature = OverheatTemperature;
///////////////////////////////////////
// Homework 1.3 (1st block, 3rd module)
///////////////////////////////////////
var projectile = CreateProjectile(forTarget);
AddProjectileToList(projectile, intoList);
///////////////////////////////////////

if (GetTemperature() >= overheatTemperature)
{
return;
}

for (int temper = 0; temper < _temperature + 1; temper++)
{
var projectile = CreateProjectile(forTarget);
AddProjectileToList(projectile, intoList);

}

IncreaseTemperature();
///////////////////////////////////////
}

Expand Down
38 changes: 38 additions & 0 deletions CSharpMainProject.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Assembly-CSharp", "Assembly-CSharp.csproj", "{EC268356-A770-5511-F91E-CEF9E21C61F9}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Assembly-CSharp-Editor", "Assembly-CSharp-Editor.csproj", "{1CE60678-DB06-B677-C940-665D0A66B22C}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Root", "Root.csproj", "{30E4A36B-DBC1-3EB5-7C27-41F2EDC2C301}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tests", "Tests.csproj", "{3465F446-5C06-0730-7586-F2DE657D5DC9}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{EC268356-A770-5511-F91E-CEF9E21C61F9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{EC268356-A770-5511-F91E-CEF9E21C61F9}.Debug|Any CPU.Build.0 = Debug|Any CPU
{EC268356-A770-5511-F91E-CEF9E21C61F9}.Release|Any CPU.ActiveCfg = Release|Any CPU
{EC268356-A770-5511-F91E-CEF9E21C61F9}.Release|Any CPU.Build.0 = Release|Any CPU
{1CE60678-DB06-B677-C940-665D0A66B22C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1CE60678-DB06-B677-C940-665D0A66B22C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1CE60678-DB06-B677-C940-665D0A66B22C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1CE60678-DB06-B677-C940-665D0A66B22C}.Release|Any CPU.Build.0 = Release|Any CPU
{30E4A36B-DBC1-3EB5-7C27-41F2EDC2C301}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{30E4A36B-DBC1-3EB5-7C27-41F2EDC2C301}.Debug|Any CPU.Build.0 = Debug|Any CPU
{30E4A36B-DBC1-3EB5-7C27-41F2EDC2C301}.Release|Any CPU.ActiveCfg = Release|Any CPU
{30E4A36B-DBC1-3EB5-7C27-41F2EDC2C301}.Release|Any CPU.Build.0 = Release|Any CPU
{3465F446-5C06-0730-7586-F2DE657D5DC9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{3465F446-5C06-0730-7586-F2DE657D5DC9}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3465F446-5C06-0730-7586-F2DE657D5DC9}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3465F446-5C06-0730-7586-F2DE657D5DC9}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
1 change: 1 addition & 0 deletions Packages/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"com.unity.ide.rider": "3.0.26",
"com.unity.textmeshpro": "3.0.6",
"com.unity.timeline": "1.7.6",
"com.unity.toolchain.linux-x86_64": "2.0.11",
"com.unity.ugui": "1.0.0",
"com.unity.visualscripting": "1.9.1",
"com.unity.modules.ai": "1.0.0",
Expand Down
28 changes: 27 additions & 1 deletion Packages/packages-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,22 @@
"dependencies": {},
"url": "https://packages.unity.com"
},
"com.unity.sysroot": {
"version": "2.0.10",
"depth": 1,
"source": "registry",
"dependencies": {},
"url": "https://packages.unity.com"
},
"com.unity.sysroot.linux-x86_64": {
"version": "2.0.9",
"depth": 1,
"source": "registry",
"dependencies": {
"com.unity.sysroot": "2.0.10"
},
"url": "https://packages.unity.com"
},
"com.unity.test-framework": {
"version": "1.1.33",
"depth": 1,
Expand Down Expand Up @@ -115,13 +131,23 @@
"depth": 0,
"source": "registry",
"dependencies": {
"com.unity.modules.audio": "1.0.0",
"com.unity.modules.director": "1.0.0",
"com.unity.modules.animation": "1.0.0",
"com.unity.modules.audio": "1.0.0",
"com.unity.modules.particlesystem": "1.0.0"
},
"url": "https://packages.unity.com"
},
"com.unity.toolchain.linux-x86_64": {
"version": "2.0.11",
"depth": 0,
"source": "registry",
"dependencies": {
"com.unity.sysroot": "2.0.10",
"com.unity.sysroot.linux-x86_64": "2.0.9"
},
"url": "https://packages.unity.com"
},
"com.unity.ugui": {
"version": "1.0.0",
"depth": 0,
Expand Down
Loading