Difference between revisions of "Drawable"

(Quads aren't Drawables!)
Line 5: Line 5:
 
}}
 
}}
 
== Supertypes ==
 
== Supertypes ==
[[Object]]
+
* [[parent::Object]]
 
== Subtypes ==
 
== Subtypes ==
* [[Framebuffer]]
+
{{#ask: [[Category:Types]] [[parent::Drawable]] [[Since::<072]]
* [[Image]]
+
| headers=hide
* [[ParticleSystem]]
+
| ?Description
* [[SpriteBatch]]
+
}}
 
== See Also ==
 
== See Also ==
 
* [[parent::love.graphics]]
 
* [[parent::love.graphics]]

Revision as of 21:34, 26 May 2011

Superclass for all things that can be drawn on screen. This is an abstract type that can't be created directly.

Object:releaseImmediately destroys the object's Lua reference.
Object:typeGets the type of the object as a string.
Object:typeOfChecks whether an object is of a certain type.

Supertypes

Subtypes

FramebufferOff-screen render target.
ImageDrawable image type.
ParticleSystemUsed to create cool effects, like fire.
SpriteBatchStore image positions in a buffer, and draw it in one call.

See Also


Other Languages