Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Text;
- namespace Directory
- {
- class Enemy
- {
- public int health = 100;
- public int damage = 50;
- //public void Move()
- //{
- // Console.WriteLine("Пошук гравця");
- //}
- public void TakeDamage(int damage)
- {
- health -= damage;
- }
- public void Death()
- {
- Console.WriteLine("Ворог Помер");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment