public HEntity(HEnum.BlockTyp pType, MoveInfo pMoveInfo, Rectangle pSourceRectangle, int pDegrees, String pTextureName, String pName) { _type = pType; _degrees = pDegrees; Initialize(pMoveInfo.Position, pSourceRectangle, pTextureName, pName); _moveInfo = pMoveInfo; _canMove = true; }
public HEntity(HEnum.BlockTyp pType, Vector2 pPosition, Rectangle pSourceRectangle, int pDegrees, String pTextureName, String pName) { _type = pType; _degrees = pDegrees; _moveInfo = new MoveInfo(); _moveInfo.MoveStart = pPosition; Initialize(pPosition, pSourceRectangle, pTextureName, pName); }