You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
985 B
30 lines
985 B
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// This code was generated by Entitas.CodeGeneration.Plugins.ContextGenerator.
|
|
//
|
|
// Changes to this file may cause incorrect behavior and will be lost if
|
|
// the code is regenerated.
|
|
// </auto-generated>
|
|
//------------------------------------------------------------------------------
|
|
public sealed partial class CombatContext : Entitas.Context<CombatEntity> {
|
|
|
|
public CombatContext()
|
|
: base(
|
|
CombatComponentsLookup.TotalComponents,
|
|
0,
|
|
new Entitas.ContextInfo(
|
|
"Combat",
|
|
CombatComponentsLookup.componentNames,
|
|
CombatComponentsLookup.componentTypes
|
|
),
|
|
(entity) =>
|
|
|
|
#if (ENTITAS_FAST_AND_UNSAFE)
|
|
new Entitas.UnsafeAERC(),
|
|
#else
|
|
new Entitas.SafeAERC(entity),
|
|
#endif
|
|
() => new CombatEntity()
|
|
) {
|
|
}
|
|
}
|
|
|