Module technology.sola.ecs
Package technology.sola.ecs.view
Class View4<C1 extends Component,C2 extends Component,C3 extends Component,C4 extends Component>
java.lang.Object
technology.sola.ecs.cache.ViewImpl<View4Entry<C1,C2,C3,C4>>
technology.sola.ecs.view.View4<C1,C2,C3,C4>
- Type Parameters:
C1
- the first component typeC2
- the second component typeC3
- the third component typeC4
- the fourth component type
- All Implemented Interfaces:
View<View4Entry<C1,
C2, C3, C4>>
-
Field Summary
Fields inherited from class technology.sola.ecs.cache.ViewImpl
componentClasses
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected @Nullable View4Entry<C1,
C2, C3, C4> createEntryFromEntity
(Entity entity) Methods inherited from class technology.sola.ecs.cache.ViewImpl
getEntries, isWatchingComponent
-
Constructor Details
-
View4
Creates an instance of View4.- Parameters:
c1Class
- the firstComponent
class this view watchesc2Class
- the second component class this view watchesc3Class
- the third class component class this view watchesc4Class
- the fourth class component class this view watches
-
-
Method Details