Пример #1
0
 protected Agent(AgentOrigin agentOrigin, string name, int hitboxWidth, int hitboxHeight)
 {
     AgentOrigin  = agentOrigin;
     Name         = name;
     HitboxWidth  = hitboxWidth;
     HitboxHeight = hitboxHeight;
 }
Пример #2
0
 /// <summary>
 /// Creates a new instance of a gadget.
 /// </summary>
 public Gadget(AgentOrigin agentOrigin, int volatileId, string name, int hitboxWidth, int hitboxHeight)
     : base(agentOrigin, name, hitboxWidth, hitboxHeight)
 {
     VolatileId = volatileId;
 }