Prototype/SimpleEntityWithOwner: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
 →Basics:   note on difference to simpleentitywithforce  | 
				 →Optional properties:  added 2 properties I missed  | 
				||
| Line 4: | Line 4: | ||
== Optional properties ==  | == Optional properties ==  | ||
This prototype inherits all the properties from [[Prototype/EntityWithHealth]].  | This prototype inherits all the properties from [[Prototype/EntityWithHealth]].  | ||
=== render_layer ===  | |||
'''Type''': [[Types/RenderLayer]]  | |||
'''Default''': "object"  | |||
=== random_animation_offset ===  | |||
'''Type''': [[Types/bool]]  | |||
'''Default''': false  | |||
=== pictures ===  | === pictures ===  | ||
'''Type''': [[Types/SpriteVariations]]  | '''Type''': [[Types/SpriteVariations]]  | ||
Must have   | Must have one of 'picture', 'pictures' or 'animations' defined.  | ||
=== picture ===  | === picture ===  | ||
'''Type''': [[Types/Sprite]]  | '''Type''': [[Types/Sprite]]  | ||
Must have   | Must have one of 'picture', 'pictures' or 'animations' defined.  | ||
=== animations ===  | === animations ===  | ||
'''Type''': [[Types/AnimationVariations]]  | '''Type''': [[Types/AnimationVariations]]  | ||
Must have   | Must have one of 'picture', 'pictures' or 'animations' defined.  | ||
Revision as of 07:53, 21 September 2018
Basics
Extends Prototype/EntityWithHealth. Has a force, but unlike Prototype/SimpleEntityWithForce it is only attacked if the biters get stuck on it.
Optional properties
This prototype inherits all the properties from Prototype/EntityWithHealth.
render_layer
Type: Types/RenderLayer
Default: "object"
random_animation_offset
Type: Types/bool
Default: false
pictures
Type: Types/SpriteVariations
Must have one of 'picture', 'pictures' or 'animations' defined.
picture
Type: Types/Sprite
Must have one of 'picture', 'pictures' or 'animations' defined.
animations
Type: Types/AnimationVariations
Must have one of 'picture', 'pictures' or 'animations' defined.