2using System.Collections.Generic;
20 return source.Name + (EClass.debug.showExtra ? (
":" +
source.
id) :
"") +
"(" +
mat.GetName() + (EClass.debug.showExtra ? (
":" +
mat.id) :
"") +
")" + (
EClass.
player.
recipes.
IsKnown(
source.
id) ?
"" : (Environment.NewLine +
"noRecipe".lang()));
59 if (!
Test(point).IsValid)
68 Test(point, select:
true);
79 base.OnRenderTile(point, result, dir);
130 List<Card> list = point.
ListCards(includeMasked:
true);
131 for (
int num = list.Count - 1; num >= 0; num--)
145 ActionMode.Build.houseBoard = houseBoard;
197 ActionMode.ignoreSound =
true;
override void OnProcessTiles(Point point, int dir)
override HitResult HitTest(Point point, Point start)
Result Test(Point point, bool select=false)
RecipeSource TryGetRecipe(string id)
override BaseTileSelector.HitType hitType
Result TestFloor(Point point)
override BaseTileSelector.SelectType selectType
override void OnRenderTile(Point point, HitResult result, int dir)
override bool IsBuildMode
Result TestBlock(Point point)
Result TestThing(Thing t)
override void OnUpdateCursor()
Result TestObj(Point point)
new bool Select(Result r)
void SetCursorOnMap(CursorInfo cursor)
BaseTileSelector tileSelector
SourceMaterial.Row material
SourceMaterial.Row matObj
SourceMaterial.Row matBridge
SourceFloor.Row sourceBridge
static ColorProfile Colors
static FactionBranch Branch
static BaseGameScreen screen
ElementContainerZone elements
SourceMaterial.Row matBlock
SourceMaterial.Row matFloor
SourceBlock.Row sourceBlock
List< Card > ListCards(bool includeMasked=false)
SourceFloor.Row sourceFloor
RecipeSource GetSource(string id)
void DrawWall(Point point, int color, bool useMarkerPass=false, float offsetZ=0f)
override CardRow sourceCard