일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
- dynamic
- python
- Basic
- 오류
- C#
- W3Schools
- parameter
- 문제풀이
- Material
- Tutorial
- Class
- Algorithm
- Unreal Engine 5
- 기초
- Unity
- 시작해요 언리얼 2022
- UE5
- c++
- DP
- loop
- 백준
- 재귀
- guide
- Programming
- String
- 프로그래밍
- github
- 파이썬
- dfs
- w3school
- Today
- Total
목록C#/수업과제 (12)
행복한 개구리

using Newtonsoft.Json; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Homework1234 { public enum eDirection { Forward, Backward, Left, Right } public class Drone { public int id { get; private set; } public void Move(eDirection aim) { Console.WriteLine("{0}로 향합니다.", aim); } public Drone(int id) { this..

using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace Homework1234 { public class App { public App() { Console.WriteLine("App"); SCV scv = new SCV(); scv.mineComplete = this.MineComplete; scv.MineMineral(); } private void MineComplete() { Console.WriteLine("미네랄 +8"); } } } using System; using System.C..

using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Homework000 { class GameLauncher { public int[] arrPlate; //생성자 public GameLauncher() { } public void Init() { Console.WriteLine("초기화 합니다."); } public void CreatePlate() { Console.WriteLine("새로운 판을 생성합니다."); this.arrPlate = new int[4]; this.arrPlate[1] = 2;//한 칸은 그냥 깔아두고 ..

using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Homework000 { public class App { //생성자 public App() { Console.WriteLine("App"); TileMapManager tmm = new TileMapManager(); tmm.Init(); tmm.PrintMap(); Hero hero = new Hero(new Coord(0, 0)); hero.Move(new Coord(2, 2)); Coord coord = hero.Coord; Console.WriteLine("hero coor..

using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Homework000 { public class App { //생성자 public App() { Zergling zergling = new Zergling(); Lurker lurker = new Lurker(); zergling.Move(); lurker.Move(); zergling.Attack(); lurker.Attack(); lurker.Burrow(); lurker.Attack(); zergling.Move(); zergling.Burrow(); lurker.UnBurro..

using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Homework000 { class App { //생성자 public App() { //List를 사용해서 인벤토리 제작 Console.WriteLine("App"); List inventory; inventory = new List(); //아이템 삽입 inventory.Add("신발"); inventory.Add("장갑"); int n = 0; foreach (string item in inventory) { Console.WriteLine(""); Console.WriteLin..