public Entity(string asset,Vector2 pos,int frameWidth,int frameHeight,int offset,bool solid,bool active,Game1 game) : base(asset,pos,frameWidth,frameHeight,offset) { Solid=solid; Active=active; Vspeed=0; Hspeed=0; Grav=0; Fric=0; Bbox=new Hitbox(Pos,frameWidth,frameHeight,this); currentGame=game; }
public Entity(string asset,Vector2 pos,int frameWidth,int frameHeight,int offset,Game1 game) : base(asset,pos,frameWidth,frameHeight,offset) { Solid=false; Active=true; Vspeed=0; Hspeed=0; maxVspeed=(float)frameHeight*2; Grav=0; Fric=0; Bbox=new Hitbox(Pos,frameWidth,frameHeight,this); currentGame=game; }