public Player(Texture2D[] _textures, Vector2 _zero, Point _frameSize) : base(null, _zero) { position = new Vector2(GS.I.tileMap.GetStartPoint().X, GS.I.tileMap.GetStartPoint().Y - _frameSize.Y + GS.I.tileMap.GetSize().Y - 0.5f); collider = new Collider(_frameSize); move = Vector2.Zero; jmp = true; animatrix = new Animatrix(_frameSize, 100, _textures); }
public Ghost(Texture2D _textures, Vector2 _zero, Point _frameSize) : base(_textures, _zero) { position = new Vector2(GS.I.tileMap.GetStartPoint().X, GS.I.tileMap.GetStartPoint().Y - _frameSize.Y + GS.I.tileMap.GetSize().Y - 0.5f); move = Vector2.Zero; animatrix = new Animatrix(_frameSize, 100, new Texture2D[] { _textures }); }