경일게임아카데미 실습/12월4 2024 - 12- 18 using System;using System.Collections.Generic;using System.Runtime.InteropServices;namespace ConsoleApp2{ class Buff { public string _buffName; public int _buffTime; public Buff(string buffName, int buffTime) { _buffName = buffName; _buffTime = buffTime; } } class BuffManager { LinkedList _buffs = new LinkedList(); .. 2024. 12. 18. 2024 - 12 -16 using System;using System.Collections.Generic;using System.ComponentModel;using System.Linq;using System.Security.Cryptography.X509Certificates;using System.Text;using System.Threading.Tasks;using System.Xml.Serialization;namespace ConsoleApp2{ class UsableItem { string _name; int _price; int _mount; public string Name { get { return _name; } .. 2024. 12. 16. 2024 -12 - 12 using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace test{ enum MobType { Nomal , Fire , Water , Grass } class Trainer { int _vetge; string _nameTrain; // 1 public Monster[] _monsters = new Monster[6]; public Trainer(string nameMon) { // 2 _monste.. 2024. 12. 12. 2024 - 12 - 02 (열거형과 구조체) using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace test{ internal class Program { enum Example { a, b, c, d = 5, e } static void Main(string[] args) { Example examp = Example.e; int inputInt = 0; // false , examp = Example 첫번째 값 // .. 2024. 12. 2. 이전 1 다음