Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
P PVJCs20
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Ing. Lukáš Hruška
  • PVJCs20
  • Wiki
  • assignment2

Last edited by Ing. Lukáš Hruška Dec 22, 2020
Page history

assignment2

Zadanie 2

  • Vypracovať obsah cvičení 6-9
  • používať aktuálnu verziu knižnice MerlinCore
  • Dodržať nižšieuvedenú štruktúru projektu
  • Pridať aspoň (počítajú sa len veci ktoré majú implementovanú a unikátnu funkcionalitu a už neboli predtým definované v cvičeniach):
    • 5 nových actorov
    • 3 nové návrhové vzory
    • 3 itemy
    • 2 SpellEffects
  • Vlastná tvorivá činnosť
  • Dohrateľné kolo(á)
  • Dodržať DRY principle (Don't repeat yourself)
  • Dodržať zapôzdrenie

Deadline 3.1.2021 23:59


Poznámky

Ak sú definované v rozhraní konkrétne metódy, použite ich v riešení problému. Ak niekde chýba medzikrok a potrebujete pridať ďalšie metódy, môžete tak urobiť - zohľadnite to aj v interface.

Ak má Class1 implementovať Interface1, neznamená to, že ho musí implementovať priamo:

public interface Interface1
{

}

public class Class1 : Interface1 //OK
{

}

public interface Interface2 : Interface1
{

}

public class Class1 : Interface2 //OK as well
{

}

Všade, kde to nie je nutné, používajte private, platí to aj pre členské premenné - ku použitiu properties pristupujte rovnako ako k použitiu public get/set - iba keď je to odôvodnené, inak použite private členskú premennú.

Štruktúra projektu

<SolutionDirectory>/
├─ <ProjectDirectory>/
│  ├─ Actors/
│  ├─ Commands/
│  ├─ Items/
│  ├─ Resources/
│  ├─ <ProjectFile>.csproj
│  └─ Program.cs
├─ .gitignore
├─ <SolutionFile>.sln
└─ README
Clone repository
  • assignment2
  • cv2
  • cv3
  • cv4
  • cv5
  • cv6
  • cv7
  • cv8
  • cv9
  • exams
    • 1.md
    • 2.md
    • 3.md
    • 3b.md
    • 4.md
    • 5.md
View All Pages