Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace Directory
- {
- class Player
- {
- public int health = 100;
- public int armor = 50;
- public int damage = 40;
- //public string[] guns = { "Gun1" };
- //public void Move()
- //{
- // Console.WriteLine("Я рухаюсь");
- //}
- //public void Rotate()
- //{
- // Console.WriteLine("Повертаю");
- //}
- public void TakeDamage(int damage)
- {
- health -= damage;
- }
- public void Death()
- {
- Console.WriteLine("Гравець Вмер");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment