Advertisement
Mizzzlo

Untitled

Sep 19th, 2023
655
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.78 KB | None | 0 0
  1. namespace IMJunior
  2. {
  3.     class Player
  4.     {
  5.         public string Name { get; private set; }
  6.         public int Age { get; private set; }
  7.     }
  8.  
  9.     public class Movement
  10.     {
  11.         public float MovementSpeed { get; private set; }
  12.  
  13.         public float MovementDirectionY { get; private set; }
  14.  
  15.         public float MovementDirectionX { get; private set; }
  16.  
  17.         public void Move()
  18.         {
  19.             //Do move
  20.         }
  21.     }
  22.  
  23.     public class Weapon
  24.     {
  25.         public float WeaponCooldown { get; private set; }
  26.  
  27.         public int WeaponDamage { get; private set; }
  28.  
  29.         public void Attack()
  30.         {
  31.             //attack
  32.         }
  33.  
  34.         public bool IsReloading()
  35.         {
  36.             throw new NotImplementedException();
  37.         }
  38.     }
  39. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement