Skip to content

Instantly share code, notes, and snippets.

View Farid357's full-sized avatar
🏠
Working from home

Farid Yusubov Farid357

🏠
Working from home
  • Russia, Ekaterinburg
View GitHub Profile
@Farid357
Farid357 / Game.cs
Last active April 1, 2024 10:05
OOP Game Composition
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Numerics;
using ConsoleGame.Physics;
using ConsoleGame.Rendering;
using ConsoleGame.SaveSystem;
using ConsoleGame.Stats;
using ConsoleGame.Tests;
using ConsoleGame.Tests.UI;
using System;
using System.Numerics;
using Console_Game.Physics;
using Console_Game.Tools;
namespace Console_Game.Weapons
{
public sealed class LaserWeapon : IWeapon
{
private readonly IRaycast<IEnemy> _raycast;