SpriteBase Constructor |
Namespace: (Default Namespace)
public SpriteBase( LayerBase layer, double x, double y, double dx, double dy, int state, int frame, bool active, Solidity solidity, int color )
This cannot be called directly because SpriteBase is an abstract class, but it is called by the derived constructors on each individual sprite definition.
The sprite assumes that this is the layer to which it is added and will use it when looking for other objects or properties in the layer.